From 4e42e03be988ef26c9918a8d709667527087bf86 Mon Sep 17 00:00:00 2001 From: Jeremy Soller Date: Wed, 28 Apr 2021 20:55:40 -0600 Subject: [PATCH] Update dependencies --- Cargo.lock | 6 +++--- Cargo.toml | 2 +- src/scheme.rs | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 5570e60107..d6f53c15cd 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -7,7 +7,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" [[package]] name = "redox_syscall" -version = "0.2.4" +version = "0.2.7" source = "registry+https://github.com/rust-lang/crates.io-index" dependencies = [ "bitflags 1.2.1 (registry+https://github.com/rust-lang/crates.io-index)", @@ -17,9 +17,9 @@ dependencies = [ name = "zerod" version = "0.1.0" dependencies = [ - "redox_syscall 0.2.4 (registry+https://github.com/rust-lang/crates.io-index)", + "redox_syscall 0.2.7 (registry+https://github.com/rust-lang/crates.io-index)", ] [metadata] "checksum bitflags 1.2.1 (registry+https://github.com/rust-lang/crates.io-index)" = "cf1de2fe8c75bc145a2f577add951f8134889b4795d47466a54a5c846d691693" -"checksum redox_syscall 0.2.4 (registry+https://github.com/rust-lang/crates.io-index)" = "05ec8ca9416c5ea37062b502703cd7fcb207736bc294f6e0cf367ac6fc234570" +"checksum redox_syscall 0.2.7 (registry+https://github.com/rust-lang/crates.io-index)" = "85dd92e586f7355c633911e11f77f3d12f04b1b1bd76a198bd34ae3af8341ef2" diff --git a/Cargo.toml b/Cargo.toml index 2a3cf8d819..eb1cf887a0 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -4,4 +4,4 @@ version = "0.1.0" authors = ["Alex Lyon "] [dependencies] -redox_syscall = "0.2.4" +redox_syscall = "0.2.7" diff --git a/src/scheme.rs b/src/scheme.rs index 91f5871460..be862cf443 100644 --- a/src/scheme.rs +++ b/src/scheme.rs @@ -6,7 +6,7 @@ use std::cmp; pub struct ZeroScheme; impl Scheme for ZeroScheme { - fn open(&self, _path: &[u8], _flags: usize, _uid: u32, _gid: u32) -> Result { + fn open(&self, _path: &str, _flags: usize, _uid: u32, _gid: u32) -> Result { Ok(0) }