Skip to content

Commit

Permalink
Merge pull request #59 from jmagnuson/update-nix-0.20.2
Browse files Browse the repository at this point in the history
deps: update nix to 0.20.2
  • Loading branch information
Tim-Zhang authored Nov 11, 2021
2 parents 417badd + 01475ad commit da75ba2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ readme = "README.md"
[dependencies]
log = "0.4"
regex = "1.1"
nix = "0.20.0"
nix = "0.20.2"
libc = "0.2"
serde = { version = "1.0", features = ["derive"], optional = true }

Expand Down
2 changes: 1 addition & 1 deletion tests/cpuset.rs
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ fn test_cpuset_set_cpus() {
let cpus = fs::read_to_string("/sys/fs/cgroup/cpuset.cpus.effective").unwrap_or_default();
let cpus = cpus.trim();
if !cpus.is_empty() {
let r = cpuset.set_cpus(&cpus);
let r = cpuset.set_cpus(cpus);
assert!(r.is_ok());
let set = cpuset.cpuset();
assert_eq!(1, set.cpus.len());
Expand Down

0 comments on commit da75ba2

Please sign in to comment.