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:
parent
536a900c47
commit
40aaa65734
14 changed files with 71 additions and 158 deletions
15
src/Cargo.lock
generated
15
src/Cargo.lock
generated
|
|
@ -762,14 +762,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"
|
||||
|
|
@ -835,13 +827,6 @@ dependencies = [
|
|||
"term 0.0.0",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "test_shim"
|
||||
version = "0.0.0"
|
||||
dependencies = [
|
||||
"test 0.0.0",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "thread-id"
|
||||
version = "2.0.0"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue