[rust-compiler] Replace regex with string matching in suppressions, avoid per-function EnvironmentConfig clone
Replace regex compilation in find_program_suppressions with simple string matching (strip_prefix + starts_with), eliminating ~240ms of per-fixture regex compilation overhead. Also hoist the EnvironmentConfig clone from try_compile_function (called per function) to compile_program (called once per file), reducing allocation overhead.
J
Joe Savona committed
880de915b6e55e8912f7bc7116a8608d457d2f87
Parent: c805900