File tree Expand file tree Collapse file tree 1 file changed +15
-1
lines changed Expand file tree Collapse file tree 1 file changed +15
-1
lines changed Original file line number Diff line number Diff line change @@ -347,6 +347,19 @@ version = "0.0.0"
347
347
# empty dummy, just so that things are being built
348
348
path = "lib.rs"
349
349
350
+ [profile.sysroot_release]
351
+ # Just the default release settings to insulate us from custom release profiles
352
+ opt-level = 3
353
+ debug = false
354
+ strip = "none"
355
+ debug-assertions = false
356
+ overflow-checks = false
357
+ lto = false
358
+ panic = 'unwind'
359
+ incremental = false
360
+ codegen-units = 16
361
+ rpath = false
362
+
350
363
{crates}
351
364
352
365
{patches}
@@ -426,7 +439,8 @@ path = "lib.rs"
426
439
// Run cargo.
427
440
let mut cmd = cargo;
428
441
cmd. arg ( self . mode . as_str ( ) ) ;
429
- cmd. arg ( "--release" ) ;
442
+ cmd. arg ( "--profile" ) ;
443
+ cmd. arg ( "sysroot_release" ) ;
430
444
cmd. arg ( "--manifest-path" ) ;
431
445
cmd. arg ( & manifest_file) ;
432
446
cmd. arg ( "--target" ) ;
You can’t perform that action at this time.
0 commit comments