Alex Crichton
5 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
5 additions and
0 deletions
-
src/lib.rs
|
@ -1231,6 +1231,11 @@ impl Build { |
|
|
cmd.args.push(format!("--target={}", target).into()); |
|
|
cmd.args.push(format!("--target={}", target).into()); |
|
|
} |
|
|
} |
|
|
ToolFamily::Msvc { clang_cl } => { |
|
|
ToolFamily::Msvc { clang_cl } => { |
|
|
|
|
|
// This is an undocumented flag from MSVC but helps with making
|
|
|
|
|
|
// builds more reproducible by avoiding putting timestamps into
|
|
|
|
|
|
// files.
|
|
|
|
|
|
cmd.args.push("-Brepro".into()); |
|
|
|
|
|
|
|
|
if clang_cl { |
|
|
if clang_cl { |
|
|
if target.contains("x86_64") { |
|
|
if target.contains("x86_64") { |
|
|
cmd.args.push("-m64".into()); |
|
|
cmd.args.push("-m64".into()); |
|
|