-
-
Notifications
You must be signed in to change notification settings - Fork 64
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
Since Rust 1.83.0, rust-src
component leads to bloated runtime dependencies
#199
Comments
Cause: rust-lang/rust#129687 You can workaround it for now via |
According to the upstream comment: rust-lang/rust#129687 (comment) There are 2 solutions:
I don't think it's actionable in rust-overlay part. So I'm closing for now. |
Thank you for addressing this so quickly! 🙏🏼 |
Dev environment was being pulled in as a runtime dependency of the app and container due to the "rust-src" extension. (More notes: oxalica/rust-overlay#199) Reviewed-on: https://codeberg.org/testtrim/testtrim/pulls/453 Co-authored-by: Mathieu Fenniak <[email protected]> Co-committed-by: Mathieu Fenniak <[email protected]>
The commit that introduces Rust 1.83.0 (b259ef7) appears to bloat the closure of packages built with the rust toolchain that have the
rust-src
component.rust-toolchain.toml
:default.nix
(adapted the example from the nixpkgs manual):When using b259ef7:
The text was updated successfully, but these errors were encountered: