Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
Use clang+mold on linux (#12944)
Conrad Irwinec086945fc19
diff --git a/.cargo/config.toml b/.cargo/config.tomlindex d73dead142f..828d113ffd9 100644--- a/.cargo/config.toml+++ b/.cargo/config.toml@@ -4,3 +4,7 @@ rustflags = ["-C", "symbol-mangling-version=v0", "--cfg", "tokio_unstable"][alias]xtask = "run --package xtask --"++[target.x86_64-unknown-linux-gnu]+linker = "/usr/bin/clang"+rustflags = ["-C", "link-arg=-fuse-ld=mold"]diff --git a/script/linux b/script/linuxindex 894ce739434..c07a5064af2 100755--- a/script/linux+++ b/script/linux@@ -24,6 +24,8 @@ if [[ -n $apt ]]; thenlibvulkan1libgit2-devmake+ clang+ mold)$maysudo "$apt" install -y "${deps[@]}"exit 0@@ -36,6 +38,8 @@ if [[ -n $dnf ]]; thendeps=(gccg+++ clang+ moldalsa-lib-develfontconfig-develwayland-devel