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

is_flag_supported not using compiler specified by user #675

Closed
Ast-x64 opened this issue Apr 26, 2022 · 0 comments · Fixed by #676
Closed

is_flag_supported not using compiler specified by user #675

Ast-x64 opened this issue Apr 26, 2022 · 0 comments · Fixed by #676

Comments

@Ast-x64
Copy link
Contributor

Ast-x64 commented Apr 26, 2022

Currently is_flag_supported creates a new cfg to detect whether the given flag could be accepted, inheriting some configurations (target, host, cpp etc.) except compiler. This means though the compiler to use may have been specified explicitly, the flag is still tested with the default compiler instead, resulting in wrong configurations.

Ast-x64 added a commit to Ast-x64/cc-rs that referenced this issue Apr 26, 2022
Use the compiler specified instead of the default one to test whether a
flag can be accepted.
Fixes rust-lang#675.
Ast-x64 added a commit to Ast-x64/cc-rs that referenced this issue Apr 27, 2022
Use the compiler specified instead of the default one to test whether a
flag can be accepted.
Fixes rust-lang#675.
Ast-x64 added a commit to Ast-x64/cc-rs that referenced this issue Jul 26, 2022
Use the compiler specified instead of the default one to test whether a
flag can be accepted.
Fixes rust-lang#675.
Ast-x64 added a commit to Ast-x64/cc-rs that referenced this issue Oct 29, 2022
Use the compiler specified instead of the default one to test whether a
flag can be accepted.
Fixes rust-lang#675.
thomcc pushed a commit that referenced this issue Oct 29, 2022
Use the compiler specified instead of the default one to test whether a
flag can be accepted.
Fixes #675.
GuillaumeGomez added a commit to GuillaumeGomez/rust that referenced this issue Nov 7, 2022
…Simulacrum

Upgrade cc for working is_flag_supported on cross-compiles

rust-lang#85806 fixed unwind v.s gcc support on later Android ndks using `is_flag_supported`. However, due to rust-lang/cc-rs#675, this didn't work properly on cross-compiles. rust-lang/cc-rs@3eeb50b fixes this, and was released in cc 1.0.74, hence the upgrade
GuillaumeGomez added a commit to GuillaumeGomez/rust that referenced this issue Nov 7, 2022
…Simulacrum

Upgrade cc for working is_flag_supported on cross-compiles

rust-lang#85806 fixed unwind v.s gcc support on later Android ndks using `is_flag_supported`. However, due to rust-lang/cc-rs#675, this didn't work properly on cross-compiles. rust-lang/cc-rs@3eeb50b fixes this, and was released in cc 1.0.74, hence the upgrade
GuillaumeGomez added a commit to GuillaumeGomez/rust that referenced this issue Nov 8, 2022
…Simulacrum

Upgrade cc for working is_flag_supported on cross-compiles

rust-lang#85806 fixed unwind v.s gcc support on later Android ndks using `is_flag_supported`. However, due to rust-lang/cc-rs#675, this didn't work properly on cross-compiles. rust-lang/cc-rs@3eeb50b fixes this, and was released in cc 1.0.74, hence the upgrade
GuillaumeGomez added a commit to GuillaumeGomez/rust that referenced this issue Nov 8, 2022
…Simulacrum

Upgrade cc for working is_flag_supported on cross-compiles

rust-lang#85806 fixed unwind v.s gcc support on later Android ndks using `is_flag_supported`. However, due to rust-lang/cc-rs#675, this didn't work properly on cross-compiles. rust-lang/cc-rs@3eeb50b fixes this, and was released in cc 1.0.74, hence the upgrade
GuillaumeGomez added a commit to GuillaumeGomez/rust that referenced this issue Nov 8, 2022
…Simulacrum

Upgrade cc for working is_flag_supported on cross-compiles

rust-lang#85806 fixed unwind v.s gcc support on later Android ndks using `is_flag_supported`. However, due to rust-lang/cc-rs#675, this didn't work properly on cross-compiles. rust-lang/cc-rs@3eeb50b fixes this, and was released in cc 1.0.74, hence the upgrade
Manishearth added a commit to Manishearth/rust that referenced this issue Nov 14, 2022
…Simulacrum

Upgrade cc for working is_flag_supported on cross-compiles

rust-lang#85806 fixed unwind v.s gcc support on later Android ndks using `is_flag_supported`. However, due to rust-lang/cc-rs#675, this didn't work properly on cross-compiles. rust-lang/cc-rs@3eeb50b fixes this, and was released in cc 1.0.74, hence the upgrade
thomcc pushed a commit to tcdi/postgrestd that referenced this issue Feb 10, 2023
Upgrade cc for working is_flag_supported on cross-compiles

rust-lang/rust#85806 fixed unwind v.s gcc support on later Android ndks using `is_flag_supported`. However, due to rust-lang/cc-rs#675, this didn't work properly on cross-compiles. rust-lang/cc-rs@3eeb50b fixes this, and was released in cc 1.0.74, hence the upgrade
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 a pull request may close this issue.

1 participant