{"record":{"id":"40b4ae65198cbc71","repo":"openai/codex","slug":"bwrap-is-only-supported-on-linux","errorCode":null,"errorMessage":"bwrap is only supported on Linux","messagePattern":"bwrap is only supported on Linux","errorType":"panic","errorClass":null,"httpStatus":null,"severity":"error","filePath":"codex-rs/bwrap/src/main.rs","lineNumber":44,"sourceCode":"    // valid for the duration of the call.\n    let exit_code = unsafe { bwrap_main(cstrings.len() as libc::c_int, argv_ptrs.as_ptr()) };\n    std::process::exit(exit_code);\n}\n\n#[cfg(all(target_os = \"linux\", not(bwrap_available)))]\nfn main() {\n    panic!(\n        r#\"bubblewrap is not available in this build.\nNotes:\n- ensure the target OS is Linux\n- libcap headers must be available via pkg-config\n- bubblewrap sources expected at codex-rs/vendor/bubblewrap (default)\"#\n    );\n}\n\n#[cfg(not(target_os = \"linux\"))]\nfn main() {\n    panic!(\"bwrap is only supported on Linux\");\n}\n","sourceCodeStart":26,"sourceCodeEnd":46,"githubUrl":"https://github.com/openai/codex/blob/339751715c64496cb86246bfb3935f40e309dd3d/codex-rs/bwrap/src/main.rs#L26-L46","documentation":"Error \"bwrap is only supported on Linux\" thrown in openai/codex.","triggerScenarios":"Thrown at codex-rs/bwrap/src/main.rs:44 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":[],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"339751715c64496cb86246bfb3935f40e309dd3d","analyzedAt":"2026-08-25T05:35:09.876Z","schemaVersion":2},"datasetVersion":"2026-08-25T06:17:31.827Z"}