Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error: use of unstable library feature 'float_bits_conv' #6

Open
ngmgit opened this issue Jul 28, 2017 · 0 comments
Open

error: use of unstable library feature 'float_bits_conv' #6

ngmgit opened this issue Jul 28, 2017 · 0 comments

Comments

@ngmgit
Copy link
Contributor

ngmgit commented Jul 28, 2017

I got this error message when i was building the game using the cmd cargo build --release. And here is the total error log. And its clear that ieee754 is the library at fault. And on further looking at the cargo.lock i came to know that lewton is the package which requires it so i updated the lewton package, since it removes the problematic ieee754 package, and the issue was resolved and the code compiled successfully. So should i send a pull request?

But the game still didnt run iam making a separate issue thread for that.

Update lewton: cargo update -p lewton

Error log when compiling

error: use of unstable library feature 'float_bits_conv': recently added (see issue #40470)
   --> /home/xxxx/.cargo/registry/src/github.com-1ecc6299db9ec823/ieee754-0.2.1/src/lib.rs:417:17
    |
417 |                 Self::from_bits(bits)
    |                 ^^^^^^^^^^^^^^^
...
609 | mk_impl!(f32, u32, i16, u8, u32, 8, 23);
    | ---------------------------------------- in this macro invocation

error: use of unstable library feature 'float_bits_conv': recently added (see issue #40470)
   --> /home/xxxx/.cargo/registry/src/github.com-1ecc6299db9ec823/ieee754-0.2.1/src/lib.rs:417:17
    |
417 |                 Self::from_bits(bits)
    |                 ^^^^^^^^^^^^^^^
...
610 | mk_impl!(f64, u64, i16, u16, u64, 11, 52);
    | ------------------------------------------ in this macro invocation

error: use of unstable library feature 'float_bits_conv': recently added (see issue #40470)
   --> /home/xxxx/.cargo/registry/src/github.com-1ecc6299db9ec823/ieee754-0.2.1/src/lib.rs:431:17
    |
431 |                 Self::from_bits(bits)
    |                 ^^^^^^^^^^^^^^^
...
609 | mk_impl!(f32, u32, i16, u8, u32, 8, 23);
    | ---------------------------------------- in this macro invocation

error: use of unstable library feature 'float_bits_conv': recently added (see issue #40470)
   --> /home/xxxx/.cargo/registry/src/github.com-1ecc6299db9ec823/ieee754-0.2.1/src/lib.rs:431:17
    |
431 |                 Self::from_bits(bits)
    |                 ^^^^^^^^^^^^^^^
...
610 | mk_impl!(f64, u64, i16, u16, u64, 11, 52);
    | ------------------------------------------ in this macro invocation

error: use of unstable library feature 'float_bits_conv': recently added (see issue #40470)
   --> /home/xxxx/.cargo/registry/src/github.com-1ecc6299db9ec823/ieee754-0.2.1/src/lib.rs:458:17
    |
458 |                 Self::from_bits(
    |                 ^^^^^^^^^^^^^^^
...
609 | mk_impl!(f32, u32, i16, u8, u32, 8, 23);
    | ---------------------------------------- in this macro invocation

error: use of unstable library feature 'float_bits_conv': recently added (see issue #40470)
   --> /home/xxxx/.cargo/registry/src/github.com-1ecc6299db9ec823/ieee754-0.2.1/src/lib.rs:458:17
    |
458 |                 Self::from_bits(
    |                 ^^^^^^^^^^^^^^^
...
610 | mk_impl!(f64, u64, i16, u16, u64, 11, 52);
    | ------------------------------------------ in this macro invocation

error: aborting due to previous error(s)

error: Could not compile `ieee754`.
Build failed, waiting for other jobs to finish...
error: build failed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant