Remove dependency on rlibc (#115)

This commit is contained in:
Vincent Ollivier 2020-11-12 23:07:02 +01:00 committed by GitHub
parent 2cb0b83dee
commit 00fcfa7e08
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 1 additions and 9 deletions

View File

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

7
Cargo.lock generated
View File

@ -231,7 +231,6 @@ dependencies = [
"pc-keyboard",
"pic8259_simple",
"raw-cpuid",
"rlibc",
"sha2",
"smoltcp",
"spin 0.7.0",
@ -308,12 +307,6 @@ dependencies = [
"rustc_version",
]
[[package]]
name = "rlibc"
version = "1.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "fc874b127765f014d792f16763a81245ab80500e2ad921ed4ee9e82481ee08fe"
[[package]]
name = "rsdp"
version = "1.0.0"

View File

@ -32,7 +32,6 @@ pbkdf2 = { version = "0.3.0", default-features = false }
pc-keyboard = "0.5.1"
pic8259_simple = "0.2.0"
raw-cpuid = "8.1.0"
rlibc = "1.0.0"
sha2 = { version = "0.8.2", default-features = false }
smoltcp = { version = "0.6.0", default-features = false, features = ["alloc", "ethernet", "socket-tcp", "socket-udp", "proto-ipv4", "proto-dhcpv4"] }
spin = "0.7.0"

View File

@ -1,7 +1,6 @@
#![no_std]
#![no_main]
extern crate rlibc; // TODO: See https://github.com/rust-lang/wg-cargo-std-aware/issues/53
extern crate alloc;
use bootloader::{entry_point, BootInfo};