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

fix errors/warnings from the stabilization of cfg_target_feature and target_feature #432

Merged
merged 12 commits into from
Apr 27, 2018

Conversation

gnzlbg
Copy link
Contributor

@gnzlbg gnzlbg commented Apr 19, 2018

No description provided.

@alexcrichton
Copy link
Member

r=me, thanks!

@gnzlbg
Copy link
Contributor Author

gnzlbg commented Apr 19, 2018

@alexcrichton

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
  • aarch64-unknown-linux-gnu:
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.

@alexcrichton
Copy link
Member

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 :(

@gnzlbg
Copy link
Contributor Author

gnzlbg commented Apr 20, 2018

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.
@alexcrichton
Copy link
Member

In the meantime something magical seems to have happened and we're all green now!

@alexcrichton alexcrichton merged commit 1673dbb into rust-lang:master Apr 27, 2018
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

Successfully merging this pull request may close these issues.

2 participants