Skip to content

Commit

Permalink
Add link-time optimization to avoid memfd_create linker error
Browse files Browse the repository at this point in the history
  • Loading branch information
patowen committed Nov 18, 2023
1 parent 35b9aa3 commit f378293
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,15 @@ quinn = "0.10.2"
toml = { version = "0.8.0", default-features = false, features = ["parse"] }

[profile.dev]
lto = true
opt-level = 1
debug-assertions = true

[profile.dev.package."*"]
opt-level = 2

[profile.release]
lto = true

[profile.release.build-override]
opt-level = 0

0 comments on commit f378293

Please sign in to comment.