Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Look at more binary size optimizations #760

Open
andrewdavidmackenzie opened this issue Dec 19, 2024 · 0 comments
Open

Look at more binary size optimizations #760

andrewdavidmackenzie opened this issue Dec 19, 2024 · 0 comments

Comments

@andrewdavidmackenzie
Copy link
Owner

Rust ships pre-built copies of the standard library with its toolchains, and that the prebuilt libstd is optimized for speed rather than size.

The cargo feature build-std forces libstd to compile from source, inheriting whatever optimizations are included in the cargo profile.

This feature is still under development and considered unstable.

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

No branches or pull requests

1 participant