Skip to content

Commit a985ec4

Browse files
committed
fix: cache libc debug symbols with Valgrind
The Valgrind package installs libc6-dbg as a dependency, so the shared libc setup sees its symbols already present and skips installation. Include both packages in the cache so fresh offline restores retain the required debug files.
1 parent 9261e20 commit a985ec4

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎src/executor/valgrind/setup.rs‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -243,8 +243,8 @@ pub(super) async fn install_valgrind_from_package(
243243

244244
apt::install(system_info, &[deb_path.to_str().unwrap()])?;
245245

246-
// Return package names for caching
247-
Ok(vec!["valgrind".to_string()])
246+
// Include libc6-dbg, which the Valgrind package installs as a dependency.
247+
Ok(vec!["valgrind".to_string(), "libc6-dbg".to_string()])
248248
},
249249
)
250250
.await

0 commit comments

Comments
 (0)