Commit graph

3 commits

Author SHA1 Message Date
45545c8854
scripts/ld-wrapper: fix typo
Signed-off-by: NotAShelf <raf@notashelf.dev>
Change-Id: I3ee0ef703eec1a52b750a2ee8b4d33216a6a6964
2026-04-11 10:21:02 +03:00
Amaan Qureshi
1539533c54
build: move link flags to build.rs
Binary-specific link flags (-nostartfiles, -static, section stripping)
now use cargo:rustc-link-arg-bin so they don't break proc-macro or
build-script linking. ld-wrapper only strips sections from static
binaries.
2026-04-11 02:53:36 -04:00
781de52ca6
build: be more aggressive with linker optimizations; wrap mold
Signed-off-by: NotAShelf <raf@notashelf.dev>
Change-Id: I0e3132ab1499684eda715c3cee9b27a16a6a6964
2026-03-28 00:05:07 +03:00