Note about `mold`

This commit is contained in:
Tony Garnock-Jones 2023-10-04 21:48:14 +02:00
parent 8dead81cef
commit a9971fc35a
1 changed files with 6 additions and 0 deletions

View File

@ -34,6 +34,12 @@ Build and run from source:
cargo build --release
./target/release/syndicate-server -p 8001
If you have [`mold`](https://github.com/rui314/mold) available (`apt install mold`), you may be
able to get an additional ~10% throughput by creating `.cargo/config.toml` as follows:
[build]
rustflags = ["-C", "link-arg=-fuse-ld=mold"]
## Running the examples
In one window, start the server: