chore: move pre_main_hardening() utility into its own crate (#4403)

This commit is contained in:
Michael Bolin
2025-09-28 14:35:14 -07:00
committed by GitHub
parent 9ee6e6f342
commit 43615becf0
6 changed files with 51 additions and 21 deletions

View File

@@ -0,0 +1,21 @@
[package]
edition = "2024"
name = "codex-process-hardening"
version = { workspace = true }
[lib]
name = "codex_process_hardening"
path = "src/lib.rs"
[lints]
workspace = true
[dependencies]
[target.'cfg(target_os = "linux")'.dependencies]
libc = { workspace = true }
[target.'cfg(target_os = "android")'.dependencies]
libc = { workspace = true }
[target.'cfg(target_os = "macos")'.dependencies]
libc = { workspace = true }