Skip to content

Commit

Permalink
Use compiler_builtins instead of rlibc
Browse files Browse the repository at this point in the history
The compiler_builtins crate is injected automatically now: rust-lang/rust#49503
  • Loading branch information
phil-opp committed Apr 8, 2018
1 parent 0ad45b7 commit 1aa9575
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 9 deletions.
7 changes: 0 additions & 7 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ license = "MIT/Apache-2.0"
description = "An experimental pure-Rust x86 bootloader."

[dependencies]
rlibc = "1"
xmas-elf = "0.6.2"
x86_64 = "0.2.0-alpha-001"
usize_conversions = "0.2.0"
Expand Down
6 changes: 6 additions & 0 deletions Xargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
[dependencies.core]
stage = 0

[dependencies.compiler_builtins]
features = ["mem"]
stage = 1
1 change: 0 additions & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
#![no_std]
#![no_main]

extern crate rlibc;
extern crate xmas_elf;
extern crate x86_64;
extern crate usize_conversions;
Expand Down

0 comments on commit 1aa9575

Please sign in to comment.