Skip to content

Commit b4e504f

Browse files
committed
tests: use a #![no_std] target crate in run-make/rustc-macro-dep-files.
1 parent eb2c71c commit b4e504f

File tree

1 file changed

+3
-4
lines changed
  • src/test/run-make/rustc-macro-dep-files

1 file changed

+3
-4
lines changed

src/test/run-make/rustc-macro-dep-files/bar.rs

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,11 @@
88
// option. This file may not be copied, modified, or distributed
99
// except according to those terms.
1010

11+
#![no_std]
12+
#![crate_type = "lib"]
13+
1114
#[macro_use]
1215
extern crate foo;
1316

1417
#[derive(A)]
1518
struct A;
16-
17-
fn main() {
18-
let _b = B;
19-
}

0 commit comments

Comments
 (0)