Update post-04 to use compiler_builtins mem feature instead of rlibc (#868)

* Remove rlibc and use compiler-builtins-mem feature (#865)

* Update post-04 to use compiler_builtins `mem` feature instead of `rlibc`

Co-authored-by: Rob Gries <robert.w.gries@gmail.com>
This commit is contained in:
Philipp Oppermann
2020-10-02 23:28:03 +02:00
committed by GitHub
parent 4215162b62
commit d4e1f47e62
4 changed files with 1 additions and 10 deletions

View File

@@ -1,5 +1,6 @@
[unstable] [unstable]
build-std = ["core", "compiler_builtins"] build-std = ["core", "compiler_builtins"]
build-std-features = ["compiler-builtins-mem"]
[build] [build]
target = "x86_64-blog_os.json" target = "x86_64-blog_os.json"

7
Cargo.lock generated
View File

@@ -18,7 +18,6 @@ version = "0.1.0"
dependencies = [ dependencies = [
"bootloader", "bootloader",
"lazy_static", "lazy_static",
"rlibc",
"spin", "spin",
"uart_16550", "uart_16550",
"volatile", "volatile",
@@ -40,12 +39,6 @@ dependencies = [
"spin", "spin",
] ]
[[package]]
name = "rlibc"
version = "1.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "fc874b127765f014d792f16763a81245ab80500e2ad921ed4ee9e82481ee08fe"
[[package]] [[package]]
name = "spin" name = "spin"
version = "0.5.2" version = "0.5.2"

View File

@@ -10,7 +10,6 @@ harness = false
[dependencies] [dependencies]
bootloader = "0.9.8" bootloader = "0.9.8"
rlibc = "1.0.0"
volatile = "0.2.6" volatile = "0.2.6"
spin = "0.5.2" spin = "0.5.2"
x86_64 = "0.12.1" x86_64 = "0.12.1"

View File

@@ -4,8 +4,6 @@
#![test_runner(crate::test_runner)] #![test_runner(crate::test_runner)]
#![reexport_test_harness_main = "test_main"] #![reexport_test_harness_main = "test_main"]
extern crate rlibc;
use core::panic::PanicInfo; use core::panic::PanicInfo;
pub mod serial; pub mod serial;