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

Force clang to treat all input files as C++. #40

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

Conversation

jdm
Copy link
Member

@jdm jdm commented Jun 26, 2020

Fixes #38. sccache guesses what mode to run the compiler in based on the filename, which makes clang complain when we pass C++ flags when building C files. Forcing C++ mode causes sccache to skip the heuristic and clang happily compiles.

@jdm
Copy link
Member Author

jdm commented Jun 26, 2020

r? @jrmuizel

@jdm
Copy link
Member Author

jdm commented Jul 8, 2020

The windows failure is #41.

@bors-servo
Copy link
Contributor

☔ The latest upstream changes (presumably #50) made this pull request unmergeable. Please resolve the merge conflicts.

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.

Can't build with new versions of cc-rs when using sccache
2 participants