mirror of
https://github.com/phil-opp/blog_os.git
synced 2025-12-16 06:17:49 +00:00
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:
committed by
GitHub
parent
4215162b62
commit
d4e1f47e62
@@ -1,5 +1,6 @@
|
||||
[unstable]
|
||||
build-std = ["core", "compiler_builtins"]
|
||||
build-std-features = ["compiler-builtins-mem"]
|
||||
|
||||
[build]
|
||||
target = "x86_64-blog_os.json"
|
||||
|
||||
7
Cargo.lock
generated
7
Cargo.lock
generated
@@ -18,7 +18,6 @@ version = "0.1.0"
|
||||
dependencies = [
|
||||
"bootloader",
|
||||
"lazy_static",
|
||||
"rlibc",
|
||||
"spin",
|
||||
"uart_16550",
|
||||
"volatile",
|
||||
@@ -40,12 +39,6 @@ dependencies = [
|
||||
"spin",
|
||||
]
|
||||
|
||||
[[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"
|
||||
|
||||
@@ -10,7 +10,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"
|
||||
|
||||
@@ -4,8 +4,6 @@
|
||||
#![test_runner(crate::test_runner)]
|
||||
#![reexport_test_harness_main = "test_main"]
|
||||
|
||||
extern crate rlibc;
|
||||
|
||||
use core::panic::PanicInfo;
|
||||
|
||||
pub mod serial;
|
||||
|
||||
Reference in New Issue
Block a user