Skip to content

Commit 239d84c

Browse files
committed
chore: Add profiling target.
It's not possible to pass RUSTFLAGS through cargo using a profile, so they must still be passed along with the build command: RUSTFLAGS="-C force-frame-pointers=y" cargo build --profile profiling
1 parent 6600c8e commit 239d84c

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

Cargo.toml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,4 +30,11 @@ license = "MPL-2.0"
3030
license-file = "LICENSE"
3131
repository = "https://github.com/pdeljanov/Symphonia"
3232
rust-version = "1.85"
33-
version = "0.6.0"
33+
version = "0.6.0"
34+
35+
#cargo-features = ["profile-rustflags"]
36+
37+
[profile.profiling]
38+
inherits = "release"
39+
debug = true
40+
#rustflags = ["-C", "force-frame-pointers=y"]

0 commit comments

Comments
 (0)