Merge branch 'codex/psec-4394-git-05b-stage-filters' into codex/psec-4394-git-06-merge-guard

This commit is contained in:
Chris Bookholt
2026-07-03 17:53:02 -07:00

View File

@@ -76,6 +76,7 @@ std::thread_local! {
}
#[cfg(test)]
#[cfg_attr(not(unix), allow(dead_code))]
fn set_stage_paths_hook(point: StagePathsHookPoint, hook: impl FnOnce() + 'static) {
STAGE_PATHS_HOOKS.with(|slots| {
let prior = slots.borrow_mut()[point as usize].replace(Box::new(hook));