From 90a6c21b2ac4bf64354e058655a110b3f71a292f Mon Sep 17 00:00:00 2001 From: Daniel Harvey Date: Mon, 3 Feb 2025 18:42:45 +0000 Subject: [PATCH] Remove mold suggestion in `.envrc.example` (#688) ### What It's totally reasonable that a user would just copy `.envrc.example` to `.envrc` and then get going, however this means we try and use `mold`, which we do not install in the Nix flake, and does not work on MacOS. Let's make the default path as conservative and likely to work as possible. ### How Remove `mold` advice from `.envrc.example`, make `CARGO_INCREMENTAL` flag opt in. --- .envrc.example | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/.envrc.example b/.envrc.example index 8924b6eec..713ddc09a 100644 --- a/.envrc.example +++ b/.envrc.example @@ -7,7 +7,4 @@ use flake # enable incremental compilation -export CARGO_INCREMENTAL='true' - -# use `mold` as your linker, for faster linking (only on Linux) -export RUSTFLAGS='-C link-arg=-fuse-ld=mold' +# export CARGO_INCREMENTAL='true'