Use mold linker in .cargo/config.toml instead of lld. Add binutils and mkdir -p to Dockerfile builder stage. Update fly.toml model.
5 lines
160 B
TOML
5 lines
160 B
TOML
[target.x86_64-unknown-linux-gnu]
|
|
rustflags = ["-C", "link-arg=-fuse-ld=mold"]
|
|
|
|
[target.aarch64-unknown-linux-gnu]
|
|
rustflags = ["-C", "link-arg=-fuse-ld=mold"]
|