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

bevy_mod_picking doesn't compile on stable #23

Closed
bitshifter opened this issue Sep 9, 2020 · 2 comments
Closed

bevy_mod_picking doesn't compile on stable #23

bitshifter opened this issue Sep 9, 2020 · 2 comments

Comments

@bitshifter
Copy link

When running cargo build --examples I get the error:

error: failed to run `rustc` to learn about target-specific information

Caused by:
  process didn't exit successfully: `rustc - --crate-name ___ --print=file-names -Clink-arg=-fuse-ld=lld -Zshare-generics=y --crate-type bin --crate-type rlib --crate-type dylib --crate-type cdylib --crate-type staticlib --crate-type proc-macro --print=sysroot --print=cfg` (exit code: 1)
  --- stderr
  error: the option `Z` is only accepted on the nightly compiler

This is because .cargo/config is in .git and contains options which are only available on nightly.

I think .cargo/config shouldn't be committed. Note that bevy itself has this file as .cargo/config_fast_builds so it won't actually be used until it's been renamed.

@aevyrie
Copy link
Owner

aevyrie commented Sep 10, 2020

Thanks for reporting this - I added .cargo/config to the .gitignore, but I clearly need to rename it as you suggested.

@aevyrie
Copy link
Owner

aevyrie commented Sep 10, 2020

Latest PR has fixed this. Thanks @bitshifter!

@aevyrie aevyrie closed this as completed Sep 10, 2020
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

2 participants