diff options
Diffstat (limited to 'src/rustc')
| -rw-r--r-- | src/rustc/Cargo.lock | 34 | ||||
| -rw-r--r-- | src/rustc/test_shim/Cargo.lock | 23 | ||||
| -rw-r--r-- | src/rustc/test_shim/Cargo.toml | 25 | ||||
| -rw-r--r-- | src/rustc/test_shim/lib.rs | 11 |
4 files changed, 71 insertions, 22 deletions
diff --git a/src/rustc/Cargo.lock b/src/rustc/Cargo.lock index 9ef0b400022..3548e0c8f49 100644 --- a/src/rustc/Cargo.lock +++ b/src/rustc/Cargo.lock @@ -46,10 +46,6 @@ dependencies = [ ] [[package]] -name = "getopts" -version = "0.0.0" - -[[package]] name = "graphviz" version = "0.0.0" @@ -72,7 +68,6 @@ dependencies = [ "arena 0.0.0", "flate 0.0.0", "fmt_macros 0.0.0", - "getopts 0.0.0", "graphviz 0.0.0", "log 0.0.0", "rbml 0.0.0", @@ -136,7 +131,6 @@ version = "0.0.0" dependencies = [ "arena 0.0.0", "flate 0.0.0", - "getopts 0.0.0", "graphviz 0.0.0", "log 0.0.0", "rustc 0.0.0", @@ -151,6 +145,7 @@ dependencies = [ "rustc_plugin 0.0.0", "rustc_privacy 0.0.0", "rustc_resolve 0.0.0", + "rustc_save_analysis 0.0.0", "rustc_trans 0.0.0", "rustc_typeck 0.0.0", "serialize 0.0.0", @@ -274,12 +269,21 @@ dependencies = [ ] [[package]] +name = "rustc_save_analysis" +version = "0.0.0" +dependencies = [ + "log 0.0.0", + "rustc 0.0.0", + "rustc_front 0.0.0", + "syntax 0.0.0", +] + +[[package]] name = "rustc_trans" version = "0.0.0" dependencies = [ "arena 0.0.0", "flate 0.0.0", - "getopts 0.0.0", "graphviz 0.0.0", "log 0.0.0", "rustc 0.0.0", @@ -316,7 +320,6 @@ dependencies = [ "arena 0.0.0", "build_helper 0.1.0", "gcc 0.3.17 (registry+https://github.com/rust-lang/crates.io-index)", - "getopts 0.0.0", "log 0.0.0", "rustc 0.0.0", "rustc_back 0.0.0", @@ -328,7 +331,6 @@ dependencies = [ "rustc_trans 0.0.0", "serialize 0.0.0", "syntax 0.0.0", - "test 0.0.0", ] [[package]] @@ -345,7 +347,6 @@ dependencies = [ "log 0.0.0", "rustc_bitflags 0.0.0", "serialize 0.0.0", - "term 0.0.0", ] [[package]] @@ -353,22 +354,11 @@ name = "syntax_ext" version = "0.0.0" dependencies = [ "fmt_macros 0.0.0", + "log 0.0.0", "syntax 0.0.0", ] [[package]] -name = "term" -version = "0.0.0" - -[[package]] -name = "test" -version = "0.0.0" -dependencies = [ - "getopts 0.0.0", - "term 0.0.0", -] - -[[package]] name = "winapi" version = "0.2.2" source = "registry+https://github.com/rust-lang/crates.io-index" diff --git a/src/rustc/test_shim/Cargo.lock b/src/rustc/test_shim/Cargo.lock new file mode 100644 index 00000000000..73df56d3594 --- /dev/null +++ b/src/rustc/test_shim/Cargo.lock @@ -0,0 +1,23 @@ +[root] +name = "test_shim" +version = "0.1.0" +dependencies = [ + "test 0.0.0", +] + +[[package]] +name = "getopts" +version = "0.0.0" + +[[package]] +name = "term" +version = "0.0.0" + +[[package]] +name = "test" +version = "0.0.0" +dependencies = [ + "getopts 0.0.0", + "term 0.0.0", +] + diff --git a/src/rustc/test_shim/Cargo.toml b/src/rustc/test_shim/Cargo.toml new file mode 100644 index 00000000000..bf576650486 --- /dev/null +++ b/src/rustc/test_shim/Cargo.toml @@ -0,0 +1,25 @@ +# This is a shim Cargo.toml which serves as a proxy for building libtest. +# +# The reason this shim exists is basically the same reason that `std_shim` +# exists, and more documentation can be found in that `Cargo.toml` as to why. + +[package] +name = "test_shim" +version = "0.1.0" +authors = ["The Rust Project Developers"] + +[lib] +name = "test_shim" +path = "lib.rs" + +[profile.release] +opt-level = 2 + +# These options are controlled from our rustc wrapper script, so turn them off +# here and have them controlled elsewhere. +[profile.dev] +debug = false +debug-assertions = false + +[dependencies] +test = { path = "../../libtest" } diff --git a/src/rustc/test_shim/lib.rs b/src/rustc/test_shim/lib.rs new file mode 100644 index 00000000000..a626c9440d8 --- /dev/null +++ b/src/rustc/test_shim/lib.rs @@ -0,0 +1,11 @@ +// Copyright 2016 The Rust Project Developers. See the COPYRIGHT +// file at the top-level directory of this distribution and at +// http://rust-lang.org/COPYRIGHT. +// +// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or +// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license +// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. + +// See comments in Cargo.toml for why this exists |
