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 doesn't handle "--" #1498

Closed
glandium opened this issue Dec 21, 2022 · 0 comments · Fixed by #1983
Closed

sccache doesn't handle "--" #1498

glandium opened this issue Dec 21, 2022 · 0 comments · Fixed by #1983

Comments

@glandium
Copy link
Collaborator

rust-lang/cc-rs@fcb8df5 added "--" to the command line emitted for clang-cl when compiling through the cc-rs crate, and sccache doesn't handle it, so it passes it to the preprocessor without considering its effect, and every argument that comes after it on the preprocessor command line is considered as a file name, which, when they are originally flags, well, don't match any actual file, and then the preprocessor fails.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant