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

Expose cc-rs no_default_flags for hassle-free cross-compilation #225

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ivmarkov
Copy link

@ivmarkov ivmarkov commented Nov 4, 2024

In our own instantiation of cmake-rs Config, we would like to suppress the cc-rs logic that generates GCC flags based on Rust target triple analysis. Two reasons for that:

@ivmarkov
Copy link
Author

ivmarkov commented Nov 5, 2024

@tgross35 I'm so sorry for pinging you every now and then (last time in the libc crate). :(

Due to recent hurdles with the cc-rs crate when cross-compiling ESP-IDF, we need this enhancement relatively urgently.

Do you think you could spend a few minutes reviewing it? Hopefully, the change is small enough and would actually benefit everybody, who is in a cross-compiling use case.

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.

1 participant