Comment by bitbasher 10 months ago For me,3.8M Feb 21 11:56 target/debug/helloworld 2 comments bitbasher Reply metaltyphoon 10 months ago Why is not —release being passed to cargo? It’s not like the File Pilo mentioned by GP is released with debug symbols. bitbasher 10 months ago The original post/blog said a debug hello world was 3.7MB. I confirmed the post.A release build is:426K Feb 21 15:28 target/release/helloworldIf you use lto, codegen-units = 1 and strip then you get:323K Feb 21 15:30 target/release/helloworld
metaltyphoon 10 months ago Why is not —release being passed to cargo? It’s not like the File Pilo mentioned by GP is released with debug symbols. bitbasher 10 months ago The original post/blog said a debug hello world was 3.7MB. I confirmed the post.A release build is:426K Feb 21 15:28 target/release/helloworldIf you use lto, codegen-units = 1 and strip then you get:323K Feb 21 15:30 target/release/helloworld
bitbasher 10 months ago The original post/blog said a debug hello world was 3.7MB. I confirmed the post.A release build is:426K Feb 21 15:28 target/release/helloworldIf you use lto, codegen-units = 1 and strip then you get:323K Feb 21 15:30 target/release/helloworld
Why is not —release being passed to cargo? It’s not like the File Pilo mentioned by GP is released with debug symbols.
The original post/blog said a debug hello world was 3.7MB. I confirmed the post.
A release build is:
426K Feb 21 15:28 target/release/helloworld
If you use lto, codegen-units = 1 and strip then you get:
323K Feb 21 15:30 target/release/helloworld