-
cargo size ❤️사용법_LLVM tools shipped with the Rust toolchain코딩Coding/Rust❤️Optimization❤️ 2022. 9. 29. 22:27728x90
https://github.com/rust-embedded/cargo-binutils
cargo size --release -- -A -x
cargo size --release -- -A -x Compiling helix_editor v0.1.0 (/Users/globalyoung/Documents/test/rust/helix_editor) Finished release [optimized] target(s) in 0.11s warning: fields `name` and `ID` are never read --> src/main.rs:3:5 ... ... ... Warning: structure field `ID` should have a snake case name --> src/main.rs:10:5 | 10 | ID: u32, | ^^ help: convert the identifier to snake case: `id` warning: structure field `ID` should have a snake case name --> src/main.rs:16:5 | 16 | ID: u32, | ^^ help: convert the identifier to snake case: `id` warning: 6 warnings emitted helix_editor : section size addr __text 0x3057c 0x1000010d4 __stubs 0x300 0x100031650 __gcc_except_tab 0xeb0 0x100031950 __const 0x4f30 0x100032800 __unwind_info 0x8c4 0x100037730 __got 0x208 0x100038000 __const 0x21c0 0x100038208 __data 0x248 0x10003c000 __thread_vars 0xa8 0x10003c248 __thread_data 0x28 0x10003c2f0 __thread_bss 0x38 0x10003c318 __common 0x20 0x10003c350 __bss 0x140 0x10003c370 Total 0x39798
반응형'코딩Coding > Rust❤️Optimization❤️' 카테고리의 다른 글
Rust파일 쪼개고 소스코드 나눠서 효률적으로 (Division)유지보수하기 Managing a Growing Project (0) 2022.11.16 Rust Before Main 최적화로 용량 줄이기?- Ryan Levick - Rust Linz, July 2022 (0) 2022.10.30 cargo bench보다 좋은거? gnuplot & plotters (0) 2022.10.20 러스트 수학 속도비교(glam, cgmath, nalgebra, euclid, vek,pathfinder, static-math, ultra.. (0) 2022.10.20 Rust 1.66 nightly 기능❤️Box::assume_init 성능향상 기능 (0) 2022.09.26 How much expensive is Arc vs Rc? Arc의 Cost는 얼마나 많은 Cost를 지불하는지 에 대한 논문 (0) 2022.09.25 Rust❤️Impl trait initiative❤️eBook (0) 2022.09.23 Rust❤️<u32 as m::Foo>::foo(&x);__Trait function내가 원하는거 강제로 가지고 오기 (0) 2022.09.11