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 bugs in --clang-macro-fallback #3072

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

jbaublitz
Copy link
Contributor

Closes #3069
Closes #3070

I've tested the fixes, but would appreciate any additional feedback on this @ojeda.

This commit resolves a bug where -include was not respected and a bug
where -MMD was passed to the fallback translation unit which would cause
the dependency file to be overwritten with useless information about
temporary files.
@jbaublitz jbaublitz marked this pull request as draft January 8, 2025 16:53
@ojeda ojeda added the rust-for-linux Issues relevant to the Rust for Linux project label Jan 9, 2025
@jbaublitz
Copy link
Contributor Author

I forgot to mention here that I'm doing some additional work on this so I changed it to a draft for the time being. I'll let you know when it's ready for review.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
rust-for-linux Issues relevant to the Rust for Linux project
Projects
None yet
Development

Successfully merging this pull request may close these issues.

--clang-macro-fallback interaction with -Wp,-MMD,file.d --clang-macro-fallback interaction with -include
2 participants