diff --git a/.cargo/config.toml b/.cargo/config.toml index 5b8b4a04..46e7b6b9 100644 --- a/.cargo/config.toml +++ b/.cargo/config.toml @@ -1,11 +1,4 @@ # ./cargo/config.toml -[target.x86_64-unknown-linux-gnu] -linker = "/usr/bin/clang-16" -rustflags = [ - "-C", - "link-arg=--ld-path=/usr/bin/mold", -] - [profile.dev] debug = 0 strip = "debuginfo" diff --git a/Dockerfile.builder b/Dockerfile.builder index fd80bff7..f1595e78 100644 --- a/Dockerfile.builder +++ b/Dockerfile.builder @@ -1,7 +1,7 @@ FROM docker.io/rust:1.80.0-bookworm RUN apt-get update && \ - apt-get install -y clang-16 mold libdbus-1-dev && \ + apt-get install -y libdbus-1-dev && \ curl -L https://github.com/cargo-bins/cargo-binstall/releases/latest/download/cargo-binstall-x86_64-unknown-linux-musl.tgz -o cargo-binstall.tgz && \ tar -xzf cargo-binstall.tgz && \ rm cargo-binstall.tgz && \ @@ -15,8 +15,6 @@ RUN cargo chef --version RUN rustfmt --version RUN cargo fmt --version RUN cargo clippy --version -RUN mold --version -RUN clang-16 --version RUN cargo --version RUN rustc --version RUN rustup --version diff --git a/crates/cli/README.md b/crates/cli/README.md index cbfce33a..5d9903f5 100644 --- a/crates/cli/README.md +++ b/crates/cli/README.md @@ -32,13 +32,6 @@ See [Behaviour](#behaviour) to learn how we do this. - libdbus-1-dev (ubuntu/debian) - dbus-devel (fedora) -### x86_64-unknown-linux-gnu - -Additionally for this platform, to improved compilation times: - -- clang-16 -- mold - See `.cargo/config.toml` for how they are configured. ## Installation