]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commit
rust: Fix bloat issue in recent rust updates
authorDeepesh Varatharajan <Deepesh.Varatharajan@windriver.com>
Thu, 27 Mar 2025 09:06:03 +0000 (02:06 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 27 Mar 2025 13:41:14 +0000 (13:41 +0000)
commit26a345adc8e050657bfa0b51ea92a3d89e698d9a
tree00faf026fb8f7725f38ca68c592327ef03d134ee
parent1db86a3381c94951de44bb2b6ec840fd99a7d4be
rust: Fix bloat issue in recent rust updates

Remove the "src/gcc" directory from the Rust source code to reduce the
filesystem build space.

In Rust 1.83 (and 1.84), a full GCC-14 tree was included, which caused
the tar.xz archive to increase by 128 MB and the unpacked sources to
grow by 1.3 GB. This was an upstream error that has been resolved in
Rust 1.85.

After updating to Rust 1.85 we can revert this removal of "src/gcc"

Signed-off-by: Deepesh Varatharajan <Deepesh.Varatharajan@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-devtools/rust/rust-source.inc