Skip to content

Commit 3bf5b93

Browse files
crrowclaude
andcommitted
fix(release): add profile.dist for cargo-dist builds
cargo-dist requires a [profile.dist] section in Cargo.toml. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 7adc897 commit 3bf5b93

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

Cargo.toml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,11 @@ missing_panics_doc = "allow"
3535
must_use_candidate = "allow"
3636
redundant_pub_crate = "allow"
3737

38+
# The profile that 'cargo dist' will build with
39+
[profile.dist]
40+
inherits = "release"
41+
lto = "thin"
42+
3843
# Config for cargo-dist — generates release binaries + Homebrew formula
3944
[workspace.metadata.dist]
4045
cargo-dist-version = "0.31.0"

0 commit comments

Comments
 (0)