Skip to content

Commit db4ffa2

Browse files
A6GibKmbilelmoussaoui
authored andcommitted
python: Set profile.release.* on config.toml
See https://doc.rust-lang.org/cargo/reference/config.html.
1 parent 40f52be commit db4ffa2

2 files changed

Lines changed: 3 additions & 4 deletions

File tree

python/.cargo/config.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[profile.release]
2+
lto = true
3+
codegen-units = 1

python/Cargo.toml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,3 @@ oo7_rs = { package = "oo7", path = "../client", version = "0.6.0-alpha" }
2020
pyo3 = { version = "0.27", features = ["extension-module", "abi3-py38"] }
2121
pyo3-async-runtimes = { version = "0.27", features = ["tokio-runtime"] }
2222
tokio = { version = "1", features = ["rt-multi-thread"] }
23-
24-
[profile.release]
25-
lto = true
26-
codegen-units = 1

0 commit comments

Comments
 (0)