Skip to content

Commit

Permalink
build: do fewer optimizations in release
Browse files Browse the repository at this point in the history
  • Loading branch information
camshaft committed Dec 11, 2024
1 parent 7e37e77 commit b3614a9
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 5 deletions.
8 changes: 4 additions & 4 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,10 @@ exclude = [
bolero = "0.12"
bolero-generator = { version = "0.12", default-features = false }

[profile.release]
lto = true
codegen-units = 1
incremental = false
[profile.release-debug]
inherit = "release"
# improve flamegraph information
debug = true

[profile.bench]
lto = true
Expand Down
4 changes: 4 additions & 0 deletions tools/xdp/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
[workspace]
members = ["s2n-quic-xdp", "tester", "xtask"]
resolver = "2"

[workspace.dependencies]
bolero = "0.12"
bolero-generator = { version = "0.12", default-features = false }
2 changes: 1 addition & 1 deletion tools/xdp/s2n-quic-xdp/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ s2n-quic-core = { version = "=0.51.0", path = "../../../quic/s2n-quic-core" }
tokio = { version = "1", features = ["net"], optional = true }

[dev-dependencies]
bolero = "0.12"
bolero.workspace = true
futures = "0.3"
pin-project-lite = "0.2"
rand = "0.8"
Expand Down

0 comments on commit b3614a9

Please sign in to comment.