Rust nightly update - cache_utils

This commit is contained in:
Guillume DIDIER 2021-06-10 11:19:00 +02:00
parent 26538fe913
commit 7696086e6d
2 changed files with 7 additions and 7 deletions

View File

@ -10,14 +10,14 @@ edition = "2018"
polling_serial = { path = "../polling_serial", optional = true } polling_serial = { path = "../polling_serial", optional = true }
vga_buffer = { path = "../vga_buffer", optional = true } vga_buffer = { path = "../vga_buffer", optional = true }
cpuid = { path = "../cpuid", default-features = false } cpuid = { path = "../cpuid", default-features = false }
x86_64 = "0.12.2" x86_64 = "0.14.1"
static_assertions = "1.1.0" static_assertions = "1.1.0"
itertools = { version = "0.9.0", default-features = false } itertools = { version = "0.10.0", default-features = false }
atomic = { version = "0.5.0" } atomic = "0.5.0"
nix = { version = "0.18.0", optional = true } nix = { version = "0.20.0", optional = true }
libc = { version = "0.2.77", optional = true } libc = { version = "0.2.92", optional = true }
hashbrown = { version = "0.9.1", optional = true } hashbrown = { version = "0.11.2", optional = true }
turn_lock = { path = "../turn_lock", optional = true} turn_lock = { path = "../turn_lock", optional = true}
[features] [features]

View File

@ -89,7 +89,7 @@ impl<T> DerefMut for MMappedMemory<T> {
impl<T> AsRef<[T]> for MMappedMemory<T> { impl<T> AsRef<[T]> for MMappedMemory<T> {
fn as_ref(&self) -> &[T] { fn as_ref(&self) -> &[T] {
unimplemented!() self.slice()
} }
} }