File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -440,6 +440,11 @@ unreadable_literal = "warn"
440440[patch .crates-io ]
441441safe-mmio = { git = " https://github.com/hermit-os/safe-mmio" , branch = " 0.3.x" }
442442
443- [profile .profiling ]
443+ [profile .dist ]
444444inherits = " release"
445+ lto = " thin"
446+ codegen-units = 1
447+
448+ [profile .profiling ]
449+ inherits = " dist"
445450debug = " line-tables-only"
Original file line number Diff line number Diff line change @@ -9,8 +9,13 @@ libm = "0.2"
99crate-type = [" staticlib" ]
1010harness = false
1111
12- [profile .profiling ]
12+ [profile .dist ]
1313inherits = " release"
14+ lto = " thin"
15+ codegen-units = 1
16+
17+ [profile .profiling ]
18+ inherits = " dist"
1419debug = " line-tables-only"
1520
1621[workspace ]
Original file line number Diff line number Diff line change @@ -46,7 +46,7 @@ impl Artifact {
4646 if self . profile_path_component ( ) == "profiling" {
4747 self . profile_path_component ( )
4848 } else {
49- "release "
49+ "dist "
5050 }
5151 }
5252
You can’t perform that action at this time.
0 commit comments