iOS static lib compatible
This commit is contained in:
parent
800d58ea89
commit
249a16536a
2 changed files with 24 additions and 1 deletions
|
|
@ -5,7 +5,7 @@ edition = "2021"
|
|||
|
||||
[lib]
|
||||
name = "onod3000"
|
||||
crate-type = ["cdylib", "lib"]
|
||||
crate-type = ["cdylib", "staticlib", "lib"]
|
||||
|
||||
[dependencies]
|
||||
flate2 = "1.0.35"
|
||||
|
|
@ -19,3 +19,8 @@ python = ["dep:pyo3"]
|
|||
[[bin]]
|
||||
name="onod3000"
|
||||
file="src/bin/onod3000.rs"
|
||||
|
||||
[profile.release]
|
||||
lto = true
|
||||
codegen-units = 1
|
||||
panic = "abort"
|
||||
Loading…
Add table
Add a link
Reference in a new issue