mirror of
https://github.com/openai/codex.git
synced 2026-09-13 11:47:17 +00:00
Merge branch 'codex/psec-4394-git-05b-stage-filters' into codex/psec-4394-git-06-merge-guard
This commit is contained in:
@@ -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));
|
||||
|
||||
Reference in New Issue
Block a user