Skip to content

fix: significantly reduce rust toolchain size#153

Merged
savonarola merged 1 commit intomainfrom
20260218-reduce-rust-toolchain-size
Feb 18, 2026
Merged

fix: significantly reduce rust toolchain size#153
savonarola merged 1 commit intomainfrom
20260218-reduce-rust-toolchain-size

Conversation

@savonarola
Copy link
Copy Markdown
Contributor

@savonarola savonarola commented Feb 18, 2026

Currently:

~/.rustup/toolchains/1.88.0-x86_64-unknown-linux-gnu >du -hs .
1.3G    .
~/.rustup/toolchains/1.88.0-x86_64-unknown-linux-gnu >find . -type f | wc -l
47233

This also unconditionally slows down each application test run by over 2 mins

image

because run.sh chowns these 47k files https://github.com/emqx/emqx/blob/8f3adee478017018f18f9d177c5d4ac0f6ba59e0/scripts/ct/run.sh#L329

With minimal profile:

~/.rustup/toolchains/1.88.0-x86_64-unknown-linux-gnu >du -hs .
551M    .
~/.rustup/toolchains/1.88.0-x86_64-unknown-linux-gnu >find . -type f | wc -l
125

@savonarola savonarola merged commit d22d83c into main Feb 18, 2026
114 checks passed
@savonarola savonarola deleted the 20260218-reduce-rust-toolchain-size branch February 18, 2026 12:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants