diff --git a/crates/linker/src/lib.rs b/crates/linker/src/lib.rs index a09e80b..5f47ba8 100644 --- a/crates/linker/src/lib.rs +++ b/crates/linker/src/lib.rs @@ -49,6 +49,7 @@ pub fn link>(input: T) -> anyhow::Result> { let ld_args = [ "ld.lld", + "--lto=full", "--error-limit=0", "--relocatable", "--emit-relocs",