mirror of
https://github.com/rust-lang/rust.git
synced 2025-10-02 10:18:25 +00:00

In particular, anything that includes `none` in the target tripple, and `nvptx64-nvidia-cuda`
16 lines
500 B
Rust
16 lines
500 B
Rust
//@ needs-target-std
|
|
//
|
|
// include_bytes! and include_str! in `main.rs`
|
|
// should register the included file as of #24423,
|
|
// and this test checks that this is still the case.
|
|
// See https://github.com/rust-lang/rust/pull/24423
|
|
|
|
use run_make_support::{invalid_utf8_contains, rustc};
|
|
|
|
fn main() {
|
|
rustc().emit("dep-info").input("main.rs").run();
|
|
invalid_utf8_contains("main.d", "input.txt");
|
|
invalid_utf8_contains("main.d", "input.bin");
|
|
invalid_utf8_contains("main.d", "input.md");
|
|
}
|