You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm no compiler expert but I had a hard time getting mold going for compiling a rust project
I finally got it to work and these are the things that I think might help future people
I, seemingly, had to install clang. Should that be in the install-build-deps.sh?
In the "How to use section" under "A classic way to use mold" it says to pass -fuse-ld=mold but in the "If you are using Rust" subheading, it says link-arg=-fuse-ld=/path/to/mold but it didn't work with the full path. I ended up adding ppa:ubuntu-toolchain-r/test and updating gcc and then passed -fuse-ld=mold in my config.toml.
Having the snippet to put in config.toml twice was a bit confusing. Maybe take one out but keep the note about putting it in the home directory for global setting and project one if they don't want it to be global.
The text was updated successfully, but these errors were encountered:
I'm no compiler expert but I had a hard time getting mold going for compiling a rust project
I finally got it to work and these are the things that I think might help future people
The text was updated successfully, but these errors were encountered: