mirror of
https://github.com/openai/codex.git
synced 2026-04-30 17:36:40 +00:00
12
codex-rs/windows-sandbox-rs/src/bin/command_runner.rs
Normal file
12
codex-rs/windows-sandbox-rs/src/bin/command_runner.rs
Normal file
@@ -0,0 +1,12 @@
|
||||
#[path = "../command_runner_win.rs"]
|
||||
mod win;
|
||||
|
||||
#[cfg(target_os = "windows")]
|
||||
fn main() -> anyhow::Result<()> {
|
||||
win::main()
|
||||
}
|
||||
|
||||
#[cfg(not(target_os = "windows"))]
|
||||
fn main() {
|
||||
panic!("codex-command-runner is Windows-only");
|
||||
}
|
||||
Reference in New Issue
Block a user