diff options
-rw-r--r-- | Cargo.toml | 1 | ||||
-rw-r--r-- | flake.nix | 2 |
2 files changed, 2 insertions, 1 deletions
@@ -18,3 +18,4 @@ split-debuginfo = "unpacked" [profile.release] lto = "thin" +# debug = true @@ -76,7 +76,7 @@ env = prev.env ++ [ { name = "HELIX_RUNTIME"; eval = "$PWD/runtime"; } { name = "RUST_BACKTRACE"; value = "1"; } - { name = "RUSTFLAGS"; value = "-C link-arg=-fuse-ld=lld -C target-cpu=native"; } + { name = "RUSTFLAGS"; value = "-C link-arg=-fuse-ld=lld -C target-cpu=native -Clink-arg=-Wl,--no-rosegment"; } ]; }; }; |