mirror of
https://github.com/NotAShelf/microfetch.git
synced 2026-04-12 21:07:41 +00:00
Signed-off-by: NotAShelf <raf@notashelf.dev> Change-Id: I19ecd9801cf6e04adcedd3003d9fc59d6a6a6964
5 lines
267 B
TOML
5 lines
267 B
TOML
# Link with Mold, and without libc! We use nostartfiles to avoid the C runtime
|
|
# See:
|
|
# <https://github.com/rui314/mold?tab=readme-ov-file#how-to-use>
|
|
[target.'cfg(target_os = "linux")']
|
|
rustflags = [ "-C", "link-arg=-fuse-ld=mold", "-C", "link-arg=-nostartfiles" ]
|