From 50be1abaaa42e1ec4a86320ac2aaba07fa2bed68 Mon Sep 17 00:00:00 2001 From: Louis-Marie Baer Date: Fri, 22 Mar 2024 12:36:40 +0100 Subject: [PATCH] feat: perf, use nightly --- Cargo.toml | 7 ++++--- rust-toolchain.toml | 2 ++ 2 files changed, 6 insertions(+), 3 deletions(-) create mode 100644 rust-toolchain.toml 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"