2024-10-20 13:36:51 +03:00
|
|
|
cargo-features = ["codegen-backend"]
|
|
|
|
|
2024-10-20 00:40:01 +03:00
|
|
|
[package]
|
|
|
|
name = "bfin"
|
|
|
|
version = "0.1.0"
|
|
|
|
edition = "2021"
|
|
|
|
|
2024-10-20 13:36:51 +03:00
|
|
|
[lints.rust]
|
|
|
|
unsafe_code = { level = "forbid" }
|
|
|
|
|
2024-10-20 00:40:01 +03:00
|
|
|
[dependencies]
|
2024-10-20 13:36:51 +03:00
|
|
|
|
|
|
|
[profile.dev]
|
|
|
|
codegen-backend = "cranelift"
|
|
|
|
opt-level = 0
|
|
|
|
lto = false
|
|
|
|
incremental = true
|
|
|
|
|
|
|
|
[profile.release]
|
|
|
|
opt-level = 3
|
|
|
|
strip = true
|
|
|
|
lto = true
|
|
|
|
codegen-units = 1
|