Skip to content

Add *-espidf target triple mappings #2397

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

Merged
merged 1 commit into from
Jan 25, 2023
Merged

Conversation

jasta
Copy link
Contributor

@jasta jasta commented Jan 24, 2023

Fixes #2396.

This makes it possible to workaround cc/bindgen issues with esp-rs projects by using only environment varaibles (TARGET_CC, CLANG_PATH, etc). Without this, it requires modifying each crate's build.rs that you try to depend on to add a target option passed along to clang.

@jasta jasta changed the title Fix #2396: Add *-espidf target triple mappings Add *-espidf target triple mappings (#2396) Jan 24, 2023
@jasta jasta changed the title Add *-espidf target triple mappings (#2396) Add *-espidf target triple mappings Jan 24, 2023
@jasta jasta force-pushed the fix-espidf-triple branch from 8c8597d to 4d692e6 Compare January 24, 2023 22:12
Fixes rust-lang#2396.

This makes it possible to workaround cc/bindgen issues with esp-rs
projects by using only environment varaibles (TARGET_CC, CLANG_PATH,
etc).  Without this, it requires modifying each crate's build.rs that
you try to depend on to add a target option passed along to clang.
@jasta jasta force-pushed the fix-espidf-triple branch from 4d692e6 to 9a4a462 Compare January 25, 2023 22:21
@pvdrz pvdrz merged commit a7ff8e1 into rust-lang:main Jan 25, 2023
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.

RISC-V ESP-IDF target has different triples for clang and rustc
2 participants