diff --git a/.cargo/config.toml b/.cargo/config.toml index 2f9647c1..d4172593 100644 --- a/.cargo/config.toml +++ b/.cargo/config.toml @@ -1,5 +1,6 @@ [unstable] build-std = ["core", "compiler_builtins"] +build-std-features = ["compiler-builtins-mem"] [build] target = "x86_64-blog_os.json" diff --git a/Cargo.lock b/Cargo.lock index adb3f7d3..6cf42ad3 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -20,7 +20,6 @@ dependencies = [ "lazy_static", "pc-keyboard", "pic8259_simple", - "rlibc", "spin", "uart_16550", "volatile", @@ -63,12 +62,6 @@ dependencies = [ "cpuio", ] -[[package]] -name = "rlibc" -version = "1.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fc874b127765f014d792f16763a81245ab80500e2ad921ed4ee9e82481ee08fe" - [[package]] name = "spin" version = "0.5.2" diff --git a/Cargo.toml b/Cargo.toml index d52c65aa..470ec328 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -14,7 +14,6 @@ harness = false [dependencies] bootloader = "0.9.8" -rlibc = "1.0.0" volatile = "0.2.6" spin = "0.5.2" x86_64 = "0.12.1" diff --git a/src/lib.rs b/src/lib.rs index 92666cd5..afdb22cc 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -5,8 +5,6 @@ #![test_runner(crate::test_runner)] #![reexport_test_harness_main = "test_main"] -extern crate rlibc; - use core::panic::PanicInfo; pub mod gdt;