Skip to content

Commit

Permalink
Downgrade dependencies and disable tests to compile under Rust 1.48.
Browse files Browse the repository at this point in the history
  • Loading branch information
sunfishcode committed Oct 12, 2023
1 parent 8dc1a24 commit d817bac
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
3 changes: 0 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -72,9 +72,6 @@ tempfile = "3.2.0"
libc = "0.2.133"
libc_errno = { package = "errno", version = "0.2.8", default-features = false }
io-lifetimes = { version = "0.7.0", default-features = false, features = ["close"] }
# Don't upgrade to serial_test 0.7 for now because it depends on a
# `parking_lot_core` version which is not compatible with our MSRV of 1.48.
serial_test = "0.6"
memoffset = "0.6.5"

[target.'cfg(windows)'.dev-dependencies]
Expand Down
3 changes: 1 addition & 2 deletions tests/process/wait.rs
Original file line number Diff line number Diff line change
@@ -1,14 +1,13 @@
use libc::{kill, SIGSTOP};
use rustix::process;
use serial_test::serial;
use std::process::{Command, Stdio};

// These tests must execute serially to prevent race condition, where
// `test_wait` waits for the child process spawned in `test_waitpid`, causing
// the tests to get stuck.

#[test]
#[serial]
#[ignore]
fn test_waitpid() {
let child = Command::new("yes")
.stdout(Stdio::null())
Expand Down

0 comments on commit d817bac

Please sign in to comment.