FooIbar
24233f98d9
Fix regression of switching to new panic=immediate-abort flag ( #87 )
2025-10-03 06:20:49 -04:00
Sam Estep
eae3cd5554
Switch to new panic=immediate-abort flag ( #86 )
2025-09-26 15:39:01 -04:00
Xerxes-2
b0bc6dc0b8
Add distroless to README.md ( #84 )
...
`distroless` provides an excellent base image to run Rust programs.
For Rust programs linked with musl, use `distroless/static` which weighs ~2MB.
2025-08-15 10:58:57 -04:00
johnthagen
de338632f8
Add tool reference to cargo-llvm-lines
2025-06-17 15:34:24 -04:00
Kivooeo
d2a8cd9df0
Dynamic linking ( #80 )
2025-06-10 19:01:45 -04:00
johnthagen
f1db29c8cf
Add reference to "Reducing WASM binary size: lessons from building a web terminal"
2024-12-26 08:44:06 -05:00
johnthagen
f71ee5d91d
Add reference to Trimming down a rust binary in half
2024-10-27 12:46:49 -04:00
johnthagen
8dcb3a0ebe
Add -Zfmt-debug=none to nightly CI ( #73 )
...
* Add -Zfmt-debug=none to nightly CI
* Update libstd example to include -Zfmt-debug
2024-09-11 07:14:26 -04:00
johnthagen
cbab928e60
Move jemalloc to a legacy techniques section ( #72 )
2024-09-11 07:03:05 -04:00
johnthagen
dc323be130
Wrap README at 100 lines
2024-09-11 06:59:52 -04:00
Kornel
5d0b53b7ae
Removing fmt::Debug impls ( #71 )
2024-09-11 06:59:10 -04:00
johnthagen
094d314f0c
Add jemalloc section admonition
2024-07-16 13:42:23 -04:00
johnthagen
af259fc564
Use GitHub Markdown alerts in README ( #67 )
2024-06-25 19:42:03 -04:00
Jakub Beránek
2f7d9682ac
Improve std feature flag in README and CI ( #66 )
2024-06-17 06:59:00 -04:00
johnthagen
63a7b92a22
Add a reference to dive
2024-06-14 09:27:34 -04:00
johnthagen
ea5ab25d38
Run std/optimize_for_size in nightly CI ( #65 )
2024-06-14 09:21:56 -04:00
Jakub Beránek
c030adcb9d
Add information about the optimize_for_size libstd feature ( #64 )
2024-06-14 09:11:41 -04:00
johnthagen
f3da56c6d1
Add reference to Tock Binary Size
2024-06-14 09:09:04 -04:00
johnthagen
17406df099
Add Windows no_std project example ( #63 )
2024-03-17 15:03:54 -04:00
johnthagen
e493017f67
Add support for Windows #![no_main] ( #62 )
2024-03-17 14:51:10 -04:00
johnthagen
66a1fd90ee
Remove trailing space in code snippet
2024-02-14 11:59:37 -05:00
johnthagen
2b26a38848
Format README.md
2024-02-14 08:17:00 -05:00
johnthagen
8db1b5764b
Add reference to Making Rust binaries smaller by default ( #58 )
2024-01-24 13:26:12 -05:00
johnthagen
c4be196dc6
Add reference to The dark side of inlining and monomorphization
2023-12-29 12:09:53 -05:00
johnthagen
392ddcf606
Add reference to wg-binary-size working group
2023-12-01 08:25:28 -05:00
johnthagen
5ea2f2b2c2
Add reference to "Shrinking .wasm Code Size"
2023-10-28 18:48:58 -04:00
johnthagen
78c7a5c50d
Add reference to "Minimizing Mender-Rust"
2023-10-28 18:46:27 -04:00
johnthagen
73fefce216
Add reference to "Optimize Rust binaries size with cargo and Semver"
2023-10-28 18:44:04 -04:00
johnthagen
9285ddab4c
Add note about opt-level surprising results
2023-10-17 11:47:15 -04:00
johnthagen
e413cf99be
Document rustc -Zlocation-detail flag ( #54 )
2023-09-13 09:13:32 -04:00
johnthagen
810aa527e8
Remove outdated Travis CI badge links
2023-05-13 15:54:51 -04:00
johnthagen
fdfd162f63
Remove link to StackOverflow post now that it has the most votes
2023-01-13 13:24:41 -05:00
johnthagen
c5f90f3054
Replace rust-musl-builder with official Rust alpine image
2022-12-21 08:46:00 -05:00
johnthagen
1f8158e6a5
Drop Rust 1.28 and 1.30 from CI ( #51 )
...
* Drop Rust 1.28 and 1.30 from CI
* Cargo update
2022-11-08 12:43:57 -05:00
johnthagen
5a65a4b49a
Pin macos CI to macos-11 ( #50 )
2022-11-07 07:12:02 -05:00
johnthagen
43065669ed
Add reference to optimizing Rust binary size article
2022-11-07 06:52:22 -05:00
johnthagen
b50f068de3
Improve wording about container images
2022-11-06 16:13:28 -05:00
johnthagen
eb92787500
Add reference to "151-byte static Linux binary in Rust"
2022-11-01 15:41:40 -04:00
johnthagen
2d0160b8c7
Fix grammar
2022-10-28 13:51:08 -04:00
johnthagen
d6b3dd411a
Add reference to cargo-unusued-features
2022-10-27 08:24:35 -04:00
johnthagen
f6f4002220
Add reference to "A very small Rust binary indeed"
2022-10-26 15:04:18 -04:00
johnthagen
d4611cb9be
Add reference to Avoiding allocations in Rust to shrink Wasm modules
2022-10-22 19:11:42 -04:00
johnthagen
e29108d280
Remove usages of deprecated actions-rs ( #43 )
2022-08-14 20:12:04 -04:00
johnthagen
8cbbe15c96
Remove actions-rs/cargo ( #42 )
2022-08-14 20:04:32 -04:00
johnthagen
b86e715e0c
Update CI to actions/checkout@v3 ( #40 )
2022-08-14 19:50:52 -04:00
johnthagen
d3fd38f0f6
Update copyright year
2022-07-28 19:40:51 -04:00
johnthagen
4aaf578fd9
Add reference to Tighten rust’s belt: shrinking embedded Rust binaries
2022-07-23 09:22:01 -04:00
johnthagen
e386a67816
Add editorconfig
2022-07-23 09:20:42 -04:00
johnthagen
b20a8d127e
Include compilation speed and ease of debugging as optimization goals
2022-06-26 14:24:42 -04:00
Ed Morley
f7e216d08b
Add strip=true to the repo examples ( #36 )
...
Enables strip in the example `Cargo.toml` files in this repository,
per the recommendation now in README after #34 .
The reminder to `strip` has been removed from the README,
since the examples will now do that automatically.
2022-02-26 15:30:32 -05:00