Skip to content

Commit 05ac54c

Browse files
authored
build: do fewer optimizations in release (#2417)
1 parent 85f3048 commit 05ac54c

File tree

3 files changed

+8
-5
lines changed

3 files changed

+8
-5
lines changed

Cargo.toml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,9 @@ exclude = [
1919
bolero = "0.12"
2020
bolero-generator = { version = "0.12", default-features = false }
2121

22-
[profile.release]
23-
lto = true
24-
codegen-units = 1
25-
incremental = false
22+
[profile.release-debug]
23+
inherits = "dev"
24+
opt-level = 3
2625

2726
[profile.bench]
2827
lto = true

tools/xdp/Cargo.toml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
11
[workspace]
22
members = ["s2n-quic-xdp", "tester", "xtask"]
33
resolver = "2"
4+
5+
[workspace.dependencies]
6+
bolero = "0.12"
7+
bolero-generator = { version = "0.12", default-features = false }

tools/xdp/s2n-quic-xdp/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ s2n-quic-core = { version = "=0.51.0", path = "../../../quic/s2n-quic-core" }
2323
tokio = { version = "1", features = ["net"], optional = true }
2424

2525
[dev-dependencies]
26-
bolero = "0.12"
26+
bolero.workspace = true
2727
futures = "0.3"
2828
pin-project-lite = "0.2"
2929
rand = "0.8"

0 commit comments

Comments
 (0)