From d459c9ea37a3e0ffd4287481e8a0a3b0cc975c4e Mon Sep 17 00:00:00 2001 From: messense Date: Tue, 19 Nov 2019 08:30:31 +0800 Subject: [PATCH] Stop pretending to be the test crate. Closes #3, #4 --- Cargo.toml | 4 ---- src/lib.rs | 2 -- 2 files changed, 6 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 296cc45..ca64bba 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -7,10 +7,6 @@ description = "A fork of Rust’s `test` crate that doesn’t require unstable l repository = "https://github.com/messense/rustc-test" edition = "2018" -[lib] -name = "test" -crate-type = ["dylib", "rlib"] - [features] asm_black_box = [] capture = [] diff --git a/src/lib.rs b/src/lib.rs index 452b410..c10c3c1 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -17,8 +17,6 @@ // this crate, which relies on this attribute (rather than the value of `--crate-name` passed by // cargo) to detect this crate. -#![crate_name = "test"] - #![cfg_attr(feature = "asm_black_box", feature(asm))] #![cfg_attr(feature = "capture", feature(set_stdio))]