-
Notifications
You must be signed in to change notification settings - Fork 212
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
Get rid of a warning #634
Get rid of a warning #634
Conversation
The |
edbb831
to
ec51173
Compare
Removed now. CI is failing due to some seemingly unrelated stuff. |
Could you try setting |
You can probably change to |
No dice. |
Oh nevermind, this is just a new lint in the latest nightly rust-lang/rust@c4c7859. Looks like lines 135 and 263 try to use
edit: doesn't look like any cfg patterns are missing after all |
That is weird. The macro is defined within the same file; entire file is only cfged in for x86/x64, and conditionals on the 4 macro defines seem to cover every possible target. Anyway, this is a bit above my head (I'm just learning Rust so decided to do a light deep immersion by trying to add risc-v support to Redox; just doing something easy, y'know :)). |
It is weird, the new lint might just be wrong. I asked at rust-lang/rust#126984.
You should probably be able to just do what it suggests and add Quite the light deep immersion indeed, welcome to Rust :) |
I get this error when building the crate using fresh rust:
Indeed 2018 edition documentation says
extern crate
should not be used anymore "in 99% of circumstances". So this PR follows the advice.