Rust nightly update - cache_utils
This commit is contained in:
parent
26538fe913
commit
7696086e6d
@ -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]
|
||||||
|
@ -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()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user