Skip to content

Commit ee7b83a

Browse files
committed
fix no-std-smoke test
1 parent 35c1a86 commit ee7b83a

File tree

1 file changed

+1
-0
lines changed
  • src/tools/miri/test-cargo-miri/no-std-smoke/src

1 file changed

+1
-0
lines changed

src/tools/miri/test-cargo-miri/no-std-smoke/src/main.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
// Copied from tests/pass/no-std.rs
22

33
#![no_std]
4+
#![no_main]
45

56
// Plumbing to let us use `writeln!` to host stdout:
67

0 commit comments

Comments
 (0)