Skip to content

Commit fffbec9

Browse files
fix: add dist profile for cargo-dist builds
Amp-Thread-ID: https://ampcode.com/threads/T-019c71a5-1e62-75a2-a79c-df22ed62fb1e Co-authored-by: Amp <amp@ampcode.com>
1 parent 41df3ac commit fffbec9

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

Cargo.toml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,10 @@ debug = false
100100
incremental = false
101101
strip = true
102102

103+
# Profile for cargo-dist builds
104+
[profile.dist]
105+
inherits = "release"
106+
103107
# Profile for flamegraph/samply profiling (release + debug symbols)
104108
[profile.profiling]
105109
inherits = "release"

0 commit comments

Comments
 (0)