rust-lang / cc-rs

Rust library for build scripts to compile C/C++ code into a Rust library
https://docs.rs/cc
Apache License 2.0
1.77k stars 427 forks source link

Avoid recursive calls into try_get_compiler when items are in the cache #1050

Closed dpaoliello closed 2 months ago

dpaoliello commented 2 months ago

Have try_get_compiler provide the compiler path to is_flag_supported, and use get_base_compiler if called externally.