Update comment to mention where the __FILE__ macro is used.
This commit is contained in:
parent
ca423fe49a
commit
c8f7928916
3
build.rs
3
build.rs
@ -424,7 +424,8 @@ mod c {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Support deterministic builds by remapping the __FILE__ prefix if the
|
// Support deterministic builds by remapping the __FILE__ prefix if the
|
||||||
// compiler supports it.
|
// compiler supports it. This fixes the nondeterminism caused by the
|
||||||
|
// use of that macro in lib/builtins/int_util.h in compiler-rt.
|
||||||
cfg.flag_if_supported(&format!("-ffile-prefix-map={}=.", root.display()));
|
cfg.flag_if_supported(&format!("-ffile-prefix-map={}=.", root.display()));
|
||||||
|
|
||||||
let src_dir = root.join("lib/builtins");
|
let src_dir = root.join("lib/builtins");
|
||||||
|
Loading…
Reference in New Issue
Block a user