diff --git a/Cargo.toml b/Cargo.toml index 77d2450..8165adf 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -8,10 +8,11 @@ edition = "2021" [profile.release] panic = "abort" -debug = false -strip = "symbols" +lto = "fat" codegen-units = 1 -lto = true +incremental = false +strip = "symbols" +rustflags = ["-Zlocation-detail=none"] [profile.dev] opt-level = 1 diff --git a/rust-toolchain.toml b/rust-toolchain.toml new file mode 100644 index 0000000..954a2da --- /dev/null +++ b/rust-toolchain.toml @@ -0,0 +1,2 @@ +[toolchain] +channel = "nightly-2024-03-20"