this post was submitted on 14 Nov 2024
21 points (95.7% liked)

Rust

5999 readers
25 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 1 day ago* (last edited 1 day 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.