News for hackers. Stuff that matters.
Re:Announcing Rust 1.7 by mystikal on Friday March 04, 2016 @01:29AM (#11222355)
In theory you could tell the compiler to identify and statically link only those functions needed to make printf work (or a conservative approximation thereof).
Re:Announcing Rust 1.7 by danieldk on Friday March 04, 2016 @01:48AM (#11222405)
Re:Announcing Rust 1.7 by Manishearth on Friday March 04, 2016 @04:35AM (#11222822)
Yeah, that's just running LTO (`-C lto`). This brings the binary size down a bit, thought you also need to opt out of jemalloc to get a good impact.