From 87655baa769f1863286bae9e92db834d3128dedb Mon Sep 17 00:00:00 2001 From: Chris Cochrun Date: Mon, 9 Feb 2026 15:03:55 -0600 Subject: [PATCH] tweaks to profile --- Cargo.toml | 4 ++++ justfile | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 4606ba5..008384e 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -69,3 +69,7 @@ debug = true [lints.rust] mismatched_lifetime_syntaxes = "allow" + +[target.x86_64-unknown-linux-gnu] +linker = "/usr/bin/clang" +rustflags = ["-Clink-arg=-fuse-ld=lld", "-Clink-arg=-Wl,--no-rosegment"] \ No newline at end of file diff --git a/justfile b/justfile index 409e5e3..54a272b 100644 --- a/justfile +++ b/justfile @@ -22,7 +22,7 @@ clean: test: cargo test --benches --tests --all-features -- --nocapture profile: - cargo flamegraph -- {{verbose}} {{ui}} + cargo flamegraph --profile release -- {{verbose}} {{ui}} alias b := build alias r := run