diff options
| author | Tamir Duberstein <tamird@gmail.com> | 2017-08-19 16:54:17 -0700 |
|---|---|---|
| committer | Tamir Duberstein <tamird@gmail.com> | 2017-08-25 16:18:21 -0400 |
| commit | b3f50caee0e2f2f4d44e1c83bf73a112c2a398b1 (patch) | |
| tree | e66b07e4e48f0969e02f1e95f99c755b22d2c0d4 /src/libtest | |
| parent | 0463566f27dfc5979b5b12eb7cea670a4e3f991c (diff) | |
| download | rust-b3f50caee0e2f2f4d44e1c83bf73a112c2a398b1.tar.gz rust-b3f50caee0e2f2f4d44e1c83bf73a112c2a398b1.zip | |
*: remove crate_{name,type} attributes
Fixes #41701.
Diffstat (limited to 'src/libtest')
| -rw-r--r-- | src/libtest/lib.rs | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/libtest/lib.rs b/src/libtest/lib.rs index 5e34688f8cb..652bfa82b5c 100644 --- a/src/libtest/lib.rs +++ b/src/libtest/lib.rs @@ -23,10 +23,11 @@ // running tests while providing a base that other test frameworks may // build off of. +// NB: this is also specified in this crate's Cargo.toml, but libsyntax contains logic specific to +// this crate, which relies on this attribute (rather than the value of `--crate-name` passed by +// cargo) to detect this crate. #![crate_name = "test"] #![unstable(feature = "test", issue = "27812")] -#![crate_type = "rlib"] -#![crate_type = "dylib"] #