@kungtotte @ekaitz_zarraga @annika I think you forgot to `strip` it, of course it weighs way less without debuginfo for the whole stdlib:
$ cat fib.rs
fn main() {
let mut a = 0;
let mut b = 1;
for _ in 0..10 {
println!("{}", b);
let c = b;
b += a;
a = c;
}
}
$ rustup run nightly rustc fib.rs
$ du -sh fib
2.4M fib
$ strip fib
$ du -sh fib
196K fib
Librem5 Hardware Update https://puri.sm/posts/librem5-2018-11-hardware-report/
The creator of @pixelfed is looking for a sustainable way to fund his full time work on that project, you can help by donating on Liberapay: https://liberapay.com/pixelfed/donate
Mathematics and CS.