Add rustyline to redox patches

This commit is contained in:
Noah
2021-04-03 16:34:11 -05:00
parent b47ed5923d
commit 68b219ce2f
2 changed files with 3 additions and 2 deletions

View File

@@ -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" }

View File

@@ -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,