Files
rust/compiler
Jonathan Brouwer 8ffe107470 Rollup merge of #155036 - bjorn3:lto_refactors16, r=TaKO8Ki
Store a PathBuf rather than SerializedModule for cached modules

In cg_gcc `ModuleBuffer` already only contains a path anyway. And for moving LTO into `-Zlink-only` we will need to serialize `MaybeLtoModules`. By storing a path cached modules we avoid writing them to the disk a second time during serialization of `MaybeLtoModules`.

Some further improvements will require changes to cg_gcc that I would prefer landing in the cg_gcc repo to actually test the LTO changes in CI.

Part of https://github.com/rust-lang/compiler-team/issues/908
2026-04-21 16:53:39 +02:00
..
2026-04-20 00:18:28 +08:00
2026-04-20 00:18:28 +08:00
2026-04-15 13:50:43 +02:00
2026-04-20 00:18:28 +08:00
2026-04-16 19:30:56 -04:00
2026-04-20 00:18:28 +08:00
2026-04-20 00:18:28 +08:00
2026-04-20 00:18:28 +08:00
2026-04-20 00:18:28 +08:00
2026-04-20 00:18:28 +08:00
2026-04-20 00:18:28 +08:00
2026-04-20 00:18:28 +08:00
2026-04-20 00:18:28 +08:00
2026-04-20 00:18:28 +08:00
2026-04-20 00:18:28 +08:00
2026-04-08 21:09:07 +02:00
2026-04-20 00:18:28 +08:00
2026-04-20 00:18:28 +08:00
2026-04-20 00:18:28 +08:00