build: be more aggressive with linker optimizations; wrap mold

Signed-off-by: NotAShelf <raf@notashelf.dev>
Change-Id: I0e3132ab1499684eda715c3cee9b27a16a6a6964
This commit is contained in:
raf 2026-03-27 23:53:04 +03:00
commit 781de52ca6
Signed by: NotAShelf
GPG key ID: 29D95B64378DB4BF
4 changed files with 69 additions and 9 deletions

View file

@ -11,15 +11,15 @@ version = "0.4.13"
[workspace.dependencies]
microfetch-alloc = { path = "./crates/alloc" }
microfetch-asm = { path = "./crates/asm" }
microfetch-lib = { path = "./crates/lib" }
microfetch-asm = { path = "./crates/asm" }
microfetch-lib = { path = "./crates/lib" }
criterion = { default-features = false, features = [ "cargo_bench_support" ], version = "0.8.2" }
criterion-cycles-per-byte = "0.8.0"
[profile.dev]
opt-level = 1
panic = "abort"
panic = "abort"
[profile.release]
codegen-units = 1