Git Product home page Git Product logo

bobbin-bits's People

Contributors

jcsoo avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

bobbin-bits's Issues

Possible to add feature or cfg to reduce data bit width for AVR?

   Compiling bobbin-bits v0.1.1 (/Users/laris/codes/avr-rust/avr-rust-crates/bobbin-bits)
     Running `rustc --crate-name bobbin_bits /Users/laris/codes/avr-rust/avr-rust-crates/bobbin-bits/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi --crate-type lib --emit=dep-info,metadata,link -C opt-level=s -C panic=abort -C linker-plugin-lto -C codegen-units=1 -C debuginfo=2 -C metadata=5da433f342220bd4 -C extra-filename=-5da433f342220bd4 --out-dir /Users/laris/codes/avr-rust/avr-rust-try/try4/target/avr-atmega328p/release/deps --target /Users/laris/codes/avr-rust/avr-rust-try/try4/avr-atmega328p.json -L dependency=/Users/laris/codes/avr-rust/avr-rust-try/try4/target/avr-atmega328p/release/deps -L dependency=/Users/laris/codes/avr-rust/avr-rust-try/try4/target/release/deps --extern 'noprelude:compiler_builtins=/Users/laris/codes/avr-rust/avr-rust-try/try4/target/avr-atmega328p/release/deps/libcompiler_builtins-191119156b736cbc.rmeta' --extern 'noprelude:core=/Users/laris/codes/avr-rust/avr-rust-try/try4/target/avr-atmega328p/release/deps/libcore-90895083f782db6f.rmeta' -Z unstable-options`
error: literal out of range for usize
   --> /Users/laris/codes/avr-rust/avr-rust-crates/bobbin-bits/src/lib.rs:396:16
    |
396 | impl_u32!(U17, 0b1_1111_1111_1111_1111);
    |                ^^^^^^^^^^^^^^^^^^^^^^^
    |
    = note: `#[deny(overflowing_literals)]` on by default
    = note: the literal `0b1_1111_1111_1111_1111` (decimal `131071`) does not fit into the type `usize` and will become `65535usize`

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.