Fix exec-server filesystem default construction

In codex-rs/exec-server/src/server/filesystem.rs, construct a default Environment before calling get_filesystem so the default filesystem implementation compiles in CI.
This commit is contained in:
rreichel3-oai
2026-03-19 16:51:17 -04:00
parent 87c4b64da9
commit 3c4e07849d

View File

@@ -36,7 +36,7 @@ pub(crate) struct ExecServerFileSystem {
impl Default for ExecServerFileSystem {
fn default() -> Self {
Self {
file_system: Arc::new(Environment.get_filesystem()),
file_system: Arc::new(Environment::default().get_filesystem()),
}
}
}