Skip to content

Commit

Permalink
Remove rlibc dependency in favor of using compiler_builtins (theseu…
Browse files Browse the repository at this point in the history
  • Loading branch information
Acciente717 authored Jan 11, 2021
1 parent 7922c06 commit ab22dc9
Show file tree
Hide file tree
Showing 9 changed files with 3 additions and 20 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.

3 changes: 3 additions & 0 deletions Xargo.toml
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
[target.x86_64-theseus.dependencies]
compiler_builtins = { features = ["mem"] }
alloc = {}

[target.x86_64-theseus-sse.dependencies]
compiler_builtins = { features = ["mem"] }
alloc = {}

[target.x86_64-theseus-avx.dependencies]
compiler_builtins = { features = ["mem"] }
alloc = {}
1 change: 0 additions & 1 deletion applications/.old_static_binary_hello/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ version = "0.1.0"
authors = ["Kevin Boos <[email protected]>"]

[dependencies]
rlibc = "1.0.0"


[dependencies.log]
Expand Down
1 change: 0 additions & 1 deletion applications/.old_static_binary_hello/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@


// extern crate alloc;
extern crate rlibc;
#[macro_use] extern crate log;
extern crate print;

Expand Down
1 change: 0 additions & 1 deletion kernel/nano_core/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ build = "../../build.rs"
[dependencies]
spin = "0.4.10"
multiboot2 = "0.7.1"
rlibc = "1.0.0"
# x86_64 = { git = "https://github.com/kevinaboos/x86_64" }
x86_64 = { path = "../../libs/x86_64" } # currently using our local copy, forked from Phil Opp's crate

Expand Down
1 change: 0 additions & 1 deletion kernel/nano_core/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@

#[macro_use] extern crate log;
extern crate alloc;
extern crate rlibc; // basic memset/memcpy libc functions
extern crate spin;
extern crate multiboot2;
extern crate x86_64;
Expand Down
7 changes: 0 additions & 7 deletions libtheseus/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 libtheseus/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ build = "../build.rs"
# links = "serial_port"

[dependencies]
rlibc = "1.0.0"
# getopts = "0.2.21"

[dependencies.serial_port]
Expand Down
1 change: 0 additions & 1 deletion libtheseus/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
extern crate panic_entry;
extern crate heap;

extern crate rlibc;
#[macro_use] extern crate alloc;
// #[macro_use] extern crate terminal_print;
extern crate serial_port;
Expand Down

0 comments on commit ab22dc9

Please sign in to comment.