Skip to content

Commit fc6b9c8

Browse files
updating flag with flag_if_supported
Co-authored-by: Urgau <3616612+Urgau@users.noreply.github.com>
1 parent 6a19534 commit fc6b9c8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

compiler/rustc_llvm/build.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -278,7 +278,7 @@ fn main() {
278278
&& let Some(maps_str) = maps.to_str()
279279
{
280280
for map in maps_str.split('\t') {
281-
cfg.flag(&format!("-fdebug-prefix-map={map}"));
281+
cfg.flag_if_supported(&format!("-ffile-prefix-map={map}"));
282282
}
283283
}
284284

0 commit comments

Comments
 (0)