From f88cffb8ab9e1a81f4999a6db61b328f27fe93a9 Mon Sep 17 00:00:00 2001 From: WangRunji Date: Mon, 15 Apr 2019 21:10:49 +0800 Subject: [PATCH] fix bitvec version --- kernel/Cargo.lock | 2 +- kernel/src/syscall/fs.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/kernel/Cargo.lock b/kernel/Cargo.lock index 28447a3..a4eacbc 100644 --- a/kernel/Cargo.lock +++ b/kernel/Cargo.lock @@ -85,7 +85,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" [[package]] name = "bitvec" version = "0.11.0" -source = "git+https://github.com/myrrlyn/bitvec.git#f6e1fbed95061955d96617dfed6c112ffba45a7e" +source = "git+https://github.com/myrrlyn/bitvec.git#ed2aec38bfb5b1116e3585b1574c50655b9c85ec" [[package]] name = "bootloader" diff --git a/kernel/src/syscall/fs.rs b/kernel/src/syscall/fs.rs index 7e52e7b..1ef806e 100644 --- a/kernel/src/syscall/fs.rs +++ b/kernel/src/syscall/fs.rs @@ -10,7 +10,7 @@ use crate::fs::*; use crate::memory::MemorySet; use crate::sync::Condvar; -use bitvec::{BitSlice, BitVec, LittleEndian}; +use bitvec::prelude::{BitSlice, BitVec, LittleEndian}; use super::*;