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