mirror of
https://github.com/RustPython/RustPython.git
synced 2026-06-02 19:39:49 +09:00
Add rustyline to redox patches
This commit is contained in:
@@ -70,5 +70,6 @@ opt-level = 3
|
||||
|
||||
[patch.crates-io]
|
||||
# REDOX START, Uncommment when you want to compile/check with redoxer
|
||||
# rustyline = { git = "https://github.com/kkawakam/rustyline" }
|
||||
# REDOX END
|
||||
lock_api = { git = "https://github.com/Amanieu/parking_lot" }
|
||||
|
||||
@@ -2532,7 +2532,7 @@ mod posix {
|
||||
}
|
||||
}
|
||||
|
||||
#[cfg(not(target_os = "windows"))]
|
||||
#[cfg(not(any(windows, target_os = "redox")))]
|
||||
#[pyfunction]
|
||||
fn getpriority(
|
||||
which: PriorityWhichType,
|
||||
@@ -2548,7 +2548,7 @@ mod posix {
|
||||
}
|
||||
}
|
||||
|
||||
#[cfg(not(target_os = "windows"))]
|
||||
#[cfg(not(any(windows, target_os = "redox")))]
|
||||
#[pyfunction]
|
||||
fn setpriority(
|
||||
which: PriorityWhichType,
|
||||
|
||||
Reference in New Issue
Block a user