Skip to content

Commit

Permalink
enable optimizations for debug profile for pip install
Browse files Browse the repository at this point in the history
  • Loading branch information
Esgrove committed Oct 28, 2024
1 parent af70858 commit d69ffe4
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions python-pyo3/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,11 @@ nitor-vault = { path = "../rust" }
pyo3 = { version = "0.22.0", features = ["anyhow"] }
tokio = "1.41.0"

[profile.dev]
opt-level = 3
lto = "thin"
codegen-units = 16

[profile.release]
lto = "thin"

Expand Down
4 changes: 2 additions & 2 deletions python-pyo3/uv.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit d69ffe4

Please sign in to comment.