Page MenuHomeSolus

Rust install size has ballooned to over 585MB since 1.38
Closed, ResolvedPublic

Description

The eopkg's alone have doubled in size

rust-1.37.0-55-1-x86_64.eopkg 	12-09-2019 12:50:06 	112.16M
rust-1.38.0-56-1-x86_64.eopkg 	11-10-2019 17:11:07 	202.87M

https://bugzilla.redhat.com/show_bug.cgi?id=1756487

There is a WIP patch from fedora to reduce the size to normal here;
https://src.fedoraproject.org/rpms/rust/blob/master/f/0001-WIP-minimize-the-rust-std-component.patch

There is also some patches floating around on the rust github.

Details

Differential Revisions
D7865: Update rust to 1.40.0

Related Objects

Event Timeline

joebonrichie created this task.
joebonrichie moved this task from Backlog to Improvement on the Software board.
joebonrichie updated the task description. (Show Details)
joebonrichie triaged this task as Normal priority.Oct 24 2019, 10:48 AM

I noticed that Rust releases a new version every 5-6 weeks, more or less. Let's wait for Rust 1.39 first; shouldn't it solve anything, I'll apply the patch.

Rust 1.39 has been taken out of the oven just now.

Nah, Rust is still as big as a whale. Gonna try some patches out there.

I think this is the patch we want. We can wait until it hits a stable release. https://github.com/rust-lang/rust/pull/65474

Yes, I'm reluctant to apply patches, given that a previous attempt to reduce Rust's size has been reverted. I'd personally wait for an upstream-approved solution.

It's been fixed: https://github.com/rust-lang/rust/issues/65343#issuecomment-562807968. Now let's just wait for a new release (or two).

livingsilver94 closed this task as Resolved.Jan 11 2020, 8:53 PM