diff options
| author | emmett1 <emmett1.2miligrams@protonmail.com> | 2025-02-16 23:44:32 +0800 |
|---|---|---|
| committer | emmett1 <emmett1.2miligrams@protonmail.com> | 2025-02-16 23:44:32 +0800 |
| commit | d3df6f6482684647a7d45eb0a6a26cbd67d3bcd9 (patch) | |
| tree | 50b1f8c9853dd823d6700899bcbb0dbab6e01030 /repos/extra/mold/readme | |
| parent | 934a3d22a05d8740562b6972e6cb92a6fa8ceba6 (diff) | |
| download | alicelinux-d3df6f6482684647a7d45eb0a6a26cbd67d3bcd9.tar.gz alicelinux-d3df6f6482684647a7d45eb0a6a26cbd67d3bcd9.zip | |
mold: new added
Diffstat (limited to 'repos/extra/mold/readme')
| -rw-r--r-- | repos/extra/mold/readme | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/repos/extra/mold/readme b/repos/extra/mold/readme new file mode 100644 index 00000000..fa4f7cfb --- /dev/null +++ b/repos/extra/mold/readme @@ -0,0 +1,13 @@ +usage +===== + +for GCC and clang: + '-fuse-ld=mold' + + +for rust: + [target.x86_64-unknown-linux-musl] + linker = "clang" + rustflags = ["-C", "link-arg=-fuse-ld=/path/to/mold"] + +source: https://github.com/rui314/mold |