Skip to content

Commit

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

[profile.release]
lto = true
codegen-units = 1
incremental = false
[profile.release-debug]
inherits = "dev"
opt-level = 3

[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 05ac54c

Please sign in to comment.