Auto merge of #39851 - alexcrichton:verify-unstable, r=brson

test: Verify all sysroot crates are unstable

As we continue to add more crates to the compiler and use them to implement
various features we want to be sure we're not accidentally expanding the API
surface area of the compiler! To that end this commit adds a new `run-make` test
which will attempt to `extern crate foo` all crates in the sysroot, verifying
that they're all unstable.

This commit discovered that the `std_shim` and `test_shim` crates were
accidentally stable and fixes the situation by deleting those shims. The shims
are no longer necessary due to changes in Cargo that have happened since they
were originally incepted.
This commit is contained in:
bors 2017-02-24 02:40:16 +00:00
commit 674af8c7f5
14 changed files with 71 additions and 158 deletions

15
src/Cargo.lock generated
View file

@ -811,14 +811,6 @@ dependencies = [
"unwind 0.0.0",
]
[[package]]
name = "std_shim"
version = "0.0.0"
dependencies = [
"core 0.0.0",
"std 0.0.0",
]
[[package]]
name = "std_unicode"
version = "0.0.0"
@ -884,13 +876,6 @@ dependencies = [
"term 0.0.0",
]
[[package]]
name = "test_shim"
version = "0.0.0"
dependencies = [
"test 0.0.0",
]
[[package]]
name = "thread-id"
version = "3.0.0"