Skip to content

Commit de0e196

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 d604c12 commit de0e196

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
@@ -247,8 +247,8 @@ pub(super) async fn install_valgrind_from_package(
247247

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

250-
// Return package names for caching
251-
Ok(vec!["valgrind".to_string()])
250+
// Include libc6-dbg, which the Valgrind package installs as a dependency.
251+
Ok(vec!["valgrind".to_string(), "libc6-dbg".to_string()])
252252
},
253253
)
254254
.await

0 commit comments

Comments
 (0)