microfetch/.cargo/config.toml
NotAShelf d6977bafe5
various: (ab)use the new syscall wrappers and symbols; drop libc entirely
Signed-off-by: NotAShelf <raf@notashelf.dev>
Change-Id: I19ecd9801cf6e04adcedd3003d9fc59d6a6a6964
2026-03-27 23:48:38 +03:00

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" ]