We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5e6bb36 commit a999812Copy full SHA for a999812
src/lib.rs
@@ -1425,13 +1425,13 @@ impl Build {
1425
// This is an undocumented flag from MSVC but helps with making
1426
// builds more reproducible by avoiding putting timestamps into
1427
// files.
1428
- cmd.args.push("-Brepro".into());
+ cmd.push_cc_arg("-Brepro".into());
1429
1430
if clang_cl {
1431
if target.contains("x86_64") {
1432
- cmd.args.push("-m64".into());
+ cmd.push_cc_arg("-m64".into());
1433
} else if target.contains("86") {
1434
- cmd.args.push("-m32".into());
+ cmd.push_cc_arg("-m32".into());
1435
cmd.push_cc_arg("-arch:IA32".into());
1436
} else {
1437
cmd.push_cc_arg(format!("--target={}", target).into());
0 commit comments