This commit is contained in:
parent
41d2bb484e
commit
e931692d33
2 changed files with 0 additions and 14 deletions
|
@ -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 \
|
||||
|
|
12
README.md
12
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.
|
||||
|
|
Loading…
Reference in a new issue