diff --git a/.cargo/config.toml b/.cargo/config.toml index 03be6491..9f4c160d 100644 --- a/.cargo/config.toml +++ b/.cargo/config.toml @@ -1,7 +1,3 @@ -[target.x86_64-unknown-linux-gnu] -linker = "clang" -rustflags = ["-C", "link-arg=-fuse-ld=mold"] - [target.x86_64-unknown-linux-musl] rustflags = ["-C", "target-feature=+crt-static", "-C", "link-arg=-s", "-C", "link-arg=-lc", "-C", "link-arg=-lgcc"] diff --git a/shell.nix b/shell.nix index 70ca1dca..8bd53caf 100644 --- a/shell.nix +++ b/shell.nix @@ -18,7 +18,6 @@ pkgs.mkShell { pkgs.protoc-gen-grpc-web # grpc-web api pkgs.protoc-gen-go # go api pkgs.protoc-gen-go-grpc - pkgs.mold ]; LIBCLANG_PATH = "${pkgs.llvmPackages.libclang.lib}/lib"; BINDGEN_EXTRA_CLANG_ARGS = "-I${pkgs.llvmPackages.libclang.lib}/lib/clang/${pkgs.llvmPackages.libclang.version}/include";