this post was submitted on 14 Nov 2024
16 points (94.4% liked)

Rust

5989 readers
21 users here now

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

Wormhole

[email protected]

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
[–] [email protected] 2 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.