diff options
| author | Eduard-Mihai Burtescu <edy.burt@gmail.com> | 2018-11-26 04:07:55 +0200 |
|---|---|---|
| committer | Eduard-Mihai Burtescu <edy.burt@gmail.com> | 2018-11-30 06:15:20 +0200 |
| commit | b4e504f5b8db881cc5b19b24f72023dc16163ec1 (patch) | |
| tree | 8832bf451981fe3bd7fe71e3742a36d004a640d5 | |
| parent | eb2c71cdf2d154a217e155d96474f4988e04a253 (diff) | |
| download | rust-b4e504f5b8db881cc5b19b24f72023dc16163ec1.tar.gz rust-b4e504f5b8db881cc5b19b24f72023dc16163ec1.zip | |
tests: use a #![no_std] target crate in run-make/rustc-macro-dep-files.
| -rw-r--r-- | src/test/run-make/rustc-macro-dep-files/bar.rs | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/test/run-make/rustc-macro-dep-files/bar.rs b/src/test/run-make/rustc-macro-dep-files/bar.rs index 03330c3d170..b2d7f3f348c 100644 --- a/src/test/run-make/rustc-macro-dep-files/bar.rs +++ b/src/test/run-make/rustc-macro-dep-files/bar.rs @@ -8,12 +8,11 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +#![no_std] +#![crate_type = "lib"] + #[macro_use] extern crate foo; #[derive(A)] struct A; - -fn main() { - let _b = B; -} |
