this post was submitted on 14 Nov 2024
23 points (96.0% liked)

Rust

5999 readers
3 users here now

Welcome to the Rust community! This is a place to discuss about the Rust programming language.

Wormhole

!performance@programming.dev

Credits

  • The icon is a modified version of the official rust logo (changing the colors to a gradient and black background)

founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] Deebster@infosec.pub 4 points 3 days ago* (last edited 3 days ago)
[target.x86_64-unknown-linux-gnu]
linker = "/usr/bin/clang-15"`
rustflags = ["-C", "link-arg=--ld-path=/usr/local/bin/mold"]

Can you put something like mold or env mold for better portability?

If not, I guess it's not so bad to edit and do git update-index --assume-unchanged .cargo/config.toml but it's a bit hacky since any further changes also get ignored.