copacetic@discuss.tchncs.de to Rust@programming.devEnglish · 24 hours agoSpeeding up the Rust edit-build-run cycledavidlattimore.github.ioexternal-linkmessage-square4fedilinkarrow-up117arrow-down11cross-posted to: rust@lemmy.ml
arrow-up116arrow-down1external-linkSpeeding up the Rust edit-build-run cycledavidlattimore.github.iocopacetic@discuss.tchncs.de to Rust@programming.devEnglish · 24 hours agomessage-square4fedilinkcross-posted to: rust@lemmy.ml
minus-squareDeebster@infosec.publinkfedilinkEnglisharrow-up2·edit-220 hours 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.
Can you put something like
mold
orenv 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.