Skip to content

Commit 1aa9575

Browse files
committed
Use compiler_builtins instead of rlibc
The compiler_builtins crate is injected automatically now: rust-lang/rust#49503
1 parent 0ad45b7 commit 1aa9575

File tree

4 files changed

+6
-9
lines changed

4 files changed

+6
-9
lines changed

Cargo.lock

-7
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ license = "MIT/Apache-2.0"
66
description = "An experimental pure-Rust x86 bootloader."
77

88
[dependencies]
9-
rlibc = "1"
109
xmas-elf = "0.6.2"
1110
x86_64 = "0.2.0-alpha-001"
1211
usize_conversions = "0.2.0"

Xargo.toml

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
[dependencies.core]
2+
stage = 0
3+
4+
[dependencies.compiler_builtins]
5+
features = ["mem"]
6+
stage = 1

src/main.rs

-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
#![no_std]
1313
#![no_main]
1414

15-
extern crate rlibc;
1615
extern crate xmas_elf;
1716
extern crate x86_64;
1817
extern crate usize_conversions;

0 commit comments

Comments
 (0)