cc-rs icon indicating copy to clipboard operation
cc-rs copied to clipboard

is_flag_supported not using compiler specified by user

Open Ast-x64 opened this issue 3 years ago • 0 comments

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 avatar Apr 26 '22 03:04 Ast-x64