Skip to content

Commit c8f7928

Browse files
committed
Update comment to mention where the __FILE__ macro is used.
1 parent ca423fe commit c8f7928

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

build.rs

+2-1
Original file line numberDiff line numberDiff line change
@@ -424,7 +424,8 @@ mod c {
424424
}
425425

426426
// Support deterministic builds by remapping the __FILE__ prefix if the
427-
// compiler supports it.
427+
// compiler supports it. This fixes the nondeterminism caused by the
428+
// use of that macro in lib/builtins/int_util.h in compiler-rt.
428429
cfg.flag_if_supported(&format!("-ffile-prefix-map={}=.", root.display()));
429430

430431
let src_dir = root.join("lib/builtins");

0 commit comments

Comments
 (0)