Compile using real libstd, with no crate overrides

This commit is contained in:
Jeremy Soller 2016-12-27 16:47:08 -07:00
parent 1566ed9060
commit 3853dfd5bc
17 changed files with 20 additions and 122 deletions

View file

@ -1,21 +0,0 @@
[package]
name = "redox_std"
version = "0.1.0"
authors = ["Jeremy Soller <jackpot51@gmail.com>"]
build = "../rust/src/libstd/build.rs"
[lib]
name = "std"
path = "../rust/src/libstd/lib.rs"
[dependencies]
alloc_system = { path = "alloc_system" }
compiler_builtins = { path = "compiler_builtins" }
panic_abort = { path = "panic_abort" }
#panic_unwind = { path = "panic_unwind" }
libc = { path = "libc" }
unwind = { path = "unwind" }
[build-dependencies]
build_helper = { path = "../rust/src/build_helper" }
gcc = "0.3.27"

View file

@ -1,10 +0,0 @@
[package]
name = "alloc_system"
version = "0.0.0"
authors = ["Jeremy Soller <jackpot51@gmail.com>"]
[dependencies.ralloc]
git = "https://github.com/redox-os/ralloc.git"
branch = "new_kernel"
default-features = false
features = ["allocator"]

View file

@ -1,6 +0,0 @@
#![allocator]
#![feature(allocator)]
#![no_std]
#[allocator]
extern crate ralloc;

View file

@ -1,7 +0,0 @@
[package]
name = "compiler_builtins"
version = "0.1.0"
authors = ["Jeremy Soller <jackpot51@gmail.com>"]
[lib]
path = "../../rust/src/libcompiler_builtins/lib.rs"

View file

@ -1,11 +0,0 @@
[package]
name = "libc"
version = "0.1.0"
authors = ["Jeremy Soller <jackpot51@gmail.com>"]
build = "../../rust/src/rustc/libc_shim/build.rs"
[lib]
name = "libc"
path = "../../rust/src/liblibc/src/lib.rs"
test = false
bench = false

@ -1 +0,0 @@
Subproject commit 1581174c85f7b645b15ba1ac1c3a98fb601f0fe7

View file

@ -1,7 +0,0 @@
[package]
name = "panic_abort"
version = "0.0.0"
authors = ["Jeremy Soller <jackpot51@gmail.com>"]
[lib]
path = "../../rust/src/libpanic_abort/lib.rs"

View file

@ -1,11 +0,0 @@
[package]
name = "panic_unwind"
version = "0.0.0"
authors = ["Jeremy Soller <jackpot51@gmail.com>"]
[lib]
path = "../../rust/src/libpanic_unwind/lib.rs"
[dependencies]
libc = { path = "../libc/" }
unwind = { path = "../unwind/" }

View file

@ -1,10 +0,0 @@
[package]
name = "unwind"
version = "0.0.0"
authors = ["Jeremy Soller <jackpot51@gmail.com>"]
[lib]
path = "../../rust/src/libunwind/lib.rs"
[dependencies]
libc = { path = "../libc/" }