From e931692d3336a3448243e161e6a74d7e814d9562 Mon Sep 17 00:00:00 2001 From: Paul Campbell Date: Mon, 16 Sep 2024 16:19:59 +0100 Subject: [PATCH] feat!: drop clang and mold --- Dockerfile | 2 -- README.md | 12 ------------ 2 files changed, 14 deletions(-) diff --git a/Dockerfile b/Dockerfile index 8f3ea3c..914accc 100644 --- a/Dockerfile +++ b/Dockerfile @@ -13,8 +13,6 @@ RUN apt-get update \ --no-install-recommends \ nodejs=18.19.0+dfsg-6~deb12u2 \ curl=7.88.1-10+deb12u7 \ - clang-16=1:16.0.6-15~deb12u1 \ - mold=1.10.1+dfsg-1 \ pkg-config=1.8.1-1 \ libssl-dev=3.0.14-1~deb12u2 \ libdbus-1-dev=1.14.10-1~deb12u1 \ diff --git a/README.md b/README.md index 9b4b8e2..498e987 100644 --- a/README.md +++ b/README.md @@ -23,23 +23,11 @@ jobs: ## Contents - nodejs -- clang-16 -- mold - rust - git - cargo - cargo-binstall -## Linking - -To take advantage of the clang and mold packages, add the following to the `.cargo/config.toml` file in your project. - -```toml -[target.x86_64-unknown-linux-gnu] -linker = "/usr/bin/clang-16" -rustflags = ["-C", "link-arg=--ld-path=/usr/bin/mold"] -``` - ## Binary size To reduce the size of the debug binary, add the following to the `.cargo/config.toml` file in you project.