mirror of https://github.com/rust-lang/rust.git
13 lines
368 B
Rust
13 lines
368 B
Rust
#![feature(no_core)]
|
|
#![no_core]
|
|
//@ edition: 2021
|
|
|
|
// Test that coverage instrumentation works for `#![no_core]` crates.
|
|
|
|
// For this test, we pull in std anyway, to avoid having to set up our own
|
|
// no-core or no-std environment. What's important is that the compiler allows
|
|
// coverage for a crate with the `#![no_core]` annotation.
|
|
extern crate std;
|
|
|
|
fn main() {}
|