feat!: drop clang and mold
All checks were successful
/ test (push) Successful in 4s

This commit is contained in:
Paul Campbell 2024-09-16 16:19:59 +01:00
parent 41d2bb484e
commit e931692d33
2 changed files with 0 additions and 14 deletions

View file

@ -13,8 +13,6 @@ RUN apt-get update \
--no-install-recommends \ --no-install-recommends \
nodejs=18.19.0+dfsg-6~deb12u2 \ nodejs=18.19.0+dfsg-6~deb12u2 \
curl=7.88.1-10+deb12u7 \ 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 \ pkg-config=1.8.1-1 \
libssl-dev=3.0.14-1~deb12u2 \ libssl-dev=3.0.14-1~deb12u2 \
libdbus-1-dev=1.14.10-1~deb12u1 \ libdbus-1-dev=1.14.10-1~deb12u1 \

View file

@ -23,23 +23,11 @@ jobs:
## Contents ## Contents
- nodejs - nodejs
- clang-16
- mold
- rust - rust
- git - git
- cargo - cargo
- cargo-binstall - 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 ## Binary size
To reduce the size of the debug binary, add the following to the `.cargo/config.toml` file in you project. To reduce the size of the debug binary, add the following to the `.cargo/config.toml` file in you project.