mirror of
https://github.com/realAscot/helix.git
synced 2025-09-14 20:23:03 +02:00
flake: Revert devShell linker to lld
`mold` does not appear to work on macOS as stated in the parent commit.
This commit is contained in:
parent
fab08c0981
commit
8da226f0b4
@ -57,7 +57,7 @@
|
|||||||
|
|
||||||
# Devshell behavior is preserved.
|
# Devshell behavior is preserved.
|
||||||
devShells.default = let
|
devShells.default = let
|
||||||
commonRustFlagsEnv = "-C link-arg=-fuse-ld=mold -C target-cpu=native --cfg tokio_unstable";
|
commonRustFlagsEnv = "-C link-arg=-fuse-ld=lld -C target-cpu=native --cfg tokio_unstable";
|
||||||
platformRustFlagsEnv = pkgs.lib.optionalString pkgs.stdenv.isLinux "-Clink-arg=-Wl,--no-rosegment";
|
platformRustFlagsEnv = pkgs.lib.optionalString pkgs.stdenv.isLinux "-Clink-arg=-Wl,--no-rosegment";
|
||||||
in
|
in
|
||||||
pkgs.mkShell
|
pkgs.mkShell
|
||||||
@ -65,7 +65,7 @@
|
|||||||
inputsFrom = [self.checks.${system}.helix];
|
inputsFrom = [self.checks.${system}.helix];
|
||||||
nativeBuildInputs = with pkgs;
|
nativeBuildInputs = with pkgs;
|
||||||
[
|
[
|
||||||
mold
|
lld
|
||||||
cargo-flamegraph
|
cargo-flamegraph
|
||||||
rust-bin.nightly.latest.rust-analyzer
|
rust-bin.nightly.latest.rust-analyzer
|
||||||
]
|
]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user