Skip to content
Prev Previous commit
Next Next commit
Fix error on android
  • Loading branch information
ShaharNaveh committed Feb 27, 2026
commit e926bd32275c8bddb2d4f49b9579aa03bf1fb31e
3 changes: 2 additions & 1 deletion crates/vm/src/stdlib/posix.rs
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,6 @@ pub mod module {
use nix::{
errno::Errno,
fcntl,
sys::signal,
unistd::{self, Gid, Pid, Uid},
};
use rustpython_common::os::ffi::OsStringExt;
Expand Down Expand Up @@ -1530,6 +1529,8 @@ pub mod module {
#[cfg(any(target_os = "linux", target_os = "freebsd", target_os = "macos"))]
impl PosixSpawnArgs {
fn spawn(self, spawnp: bool, vm: &VirtualMachine) -> PyResult<libc::pid_t> {
use nix::sys::signal;

use crate::TryFromBorrowedObject;

let path = self
Expand Down
Loading