Skip to content

Commit 00fcfa7

Browse files
authored
Remove dependency on rlibc (#115)
1 parent 2cb0b83 commit 00fcfa7

File tree

4 files changed

+1
-9
lines changed

4 files changed

+1
-9
lines changed

.cargo/config.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
[unstable]
22
build-std = ["core", "compiler_builtins", "alloc"]
3+
build-std-features = ["compiler-builtins-mem"]
34

45
[build]
56
target = "x86_64-moros.json"

Cargo.lock

Lines changed: 0 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@ pbkdf2 = { version = "0.3.0", default-features = false }
3232
pc-keyboard = "0.5.1"
3333
pic8259_simple = "0.2.0"
3434
raw-cpuid = "8.1.0"
35-
rlibc = "1.0.0"
3635
sha2 = { version = "0.8.2", default-features = false }
3736
smoltcp = { version = "0.6.0", default-features = false, features = ["alloc", "ethernet", "socket-tcp", "socket-udp", "proto-ipv4", "proto-dhcpv4"] }
3837
spin = "0.7.0"

src/main.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
#![no_std]
22
#![no_main]
33

4-
extern crate rlibc; // TODO: See https://github.com/rust-lang/wg-cargo-std-aware/issues/53
54
extern crate alloc;
65

76
use bootloader::{entry_point, BootInfo};

0 commit comments

Comments
 (0)