Skip to content

Commit

Permalink
Revert "create a nostd crate"
Browse files Browse the repository at this point in the history
This reverts commit 14768f9.
  • Loading branch information
japaric committed Apr 4, 2018
1 parent 14768f9 commit bca569f
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 35 deletions.
10 changes: 0 additions & 10 deletions src/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 src/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
members = [
"bootstrap",
"rustc",
"libnostd",
"libstd",
"libtest",
"librustc_trans",
Expand Down
8 changes: 4 additions & 4 deletions src/bootstrap/compile.rs
Original file line number Diff line number Diff line change
Expand Up @@ -145,10 +145,10 @@ pub fn std_cargo(build: &Builder,
}

if build.no_std(target) == Some(true) {
// for no-std targets we compile a minimal nostd crate that only depends on crates that work
// without an OS
cargo.arg("--manifest-path")
.arg(build.src.join("src/libnostd/Cargo.toml"));
// for no-std targets we only compile core and compiler-builtins
cargo.arg("--features").arg("c mem")
.arg("--manifest-path")
.arg(build.src.join("src/rustc/compiler_builtins_shim/Cargo.toml"));
} else {
let mut features = build.std_features();

Expand Down
17 changes: 0 additions & 17 deletions src/libnostd/Cargo.toml

This file was deleted.

3 changes: 0 additions & 3 deletions src/libnostd/lib.rs

This file was deleted.

0 comments on commit bca569f

Please sign in to comment.