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

sccache v0.2.13 fails when -Z unstable-options are specified #889

Closed
SomeoneToIgnore opened this issue Nov 20, 2020 · 2 comments
Closed

Comments

@SomeoneToIgnore
Copy link

Minimal example:

  • use nightly rustc: docker run -it --rm rustlang/rust:nightly bash
  • install sccache: rustup toolchain install 1.47.0 && cargo +1.47.0 install sccache (I have to use 1.47 due to sccache v0.2.13 does not work when built with rustc 1.48 #887)
  • create a dummy project: USER=test-user cargo new --bin test-project && cd test-project
  • run cargo clean && cargo clippy -Z unstable-options it works
  • run cargo clean && RUSTC_WRAPPER="/usr/local/cargo/bin/sccache" cargo clippy -Z unstable-options

Expected: it works too.
Actual: error,

error: failed to execute compile
caused by: Compiler not supported: "error: Unrecognized option: \'E\'\n\n"
error: could not compile `test-project`
@SomeoneToIgnore
Copy link
Author

Seems to work on current master

@glandium
Copy link
Collaborator

Closing per #889 (comment)

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