Basic-benchmark-experiment/Rust/code_unoptimised/Cargo.toml

20 lines
596 B
TOML
Raw Normal View History

2024-03-11 12:43:52 +02:00
[package]
name = "code_unoptimised"
version = "0.1.0"
edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[profile.dev.package."*"] # +
opt-level = "z" # Optimize library for size
[profile.release]
#opt-level = 'z' # Optimize for size
opt-level = 3 # Optimize for speed
lto = true # Enable link-time optimization
codegen-units = 1 # Reduce number of codegen units to increase optimizations
panic = 'abort' # Abort on panic
strip = true # Strip symbols from binary*
[dependencies]
rand = "0.8.5"