-
Notifications
You must be signed in to change notification settings - Fork 273
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
fix errors/warnings from the stabilization of cfg_target_feature and target_feature #432
Conversation
r=me, thanks! |
i686-unknown-linux-gnu: error: failed to prepare thin LTO module: Invalid function metadata: outgoing forward refs (Producer: 'LLVM6.0.0' Reader: 'LLVM 6.0.0')
error: aborting due to previous error
error: Could not compile `coresimd`.
warning: build failed, waiting for other jobs to finish...
error: build failed
error[E0658]: the target feature `neon` is currently unstable
--> /checkout/crates/coresimd/src/../../../coresimd/arm/neon.rs:772:18
|
772 | #[target_feature(enable = "neon")]
| ^^^^^^^^^^^^^^^
|
= help: add #![feature(aarch64_target_feature)] to the crate attributes to enable but that feature is enabled AFAICT. |
52a48e5
to
2d0fc61
Compare
I've asked on rust-lang/rust#49904 about the LTO error at rust-lang/rust#49904 (comment). No idea what's going on there :( |
Crap :/ I probably can't take a look at this till monday; it seems that windows on appveyor has the same problem. |
Following upstream proc_macro changes
Instead use RUSTFLAGS with `--cfg`. This'll help us be compatible with the latest Cargo where a tweak to workspaces and features made the previous invocations we had invalid.
In the meantime something magical seems to have happened and we're all green now! |
No description provided.