Skip to content

Commit 7231673

Browse files
authored
Merge pull request #586 from oech3/release-small
Cargo.toml: Rename dist profile and add release-small
2 parents f73e575 + 3e1f370 commit 7231673

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

Cargo.toml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,11 +41,13 @@ path = "src/xargs/main.rs"
4141
name = "testing-commandline"
4242
path = "src/testing/commandline/main.rs"
4343

44-
# The profile that 'cargo dist' will build with
45-
[profile.dist]
46-
inherits = "release"
44+
[profile.release]
4745
lto = "thin"
46+
codegen-units = 1
4847

48+
[profile.release-fast]
49+
inherits = "release"
50+
panic = "abort"
4951

5052
[lints.clippy]
5153
multiple_crate_versions = "allow"

0 commit comments

Comments
 (0)