Skip to content

Commit 537a07a

Browse files
committed
rewrite and rename include_bytes_deps to rmake
1 parent 3186d17 commit 537a07a

File tree

7 files changed

+15
-8
lines changed

7 files changed

+15
-8
lines changed

src/tools/tidy/src/allowed_run_make_makefiles.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,6 @@ run-make/foreign-double-unwind/Makefile
5858
run-make/foreign-exceptions/Makefile
5959
run-make/foreign-rust-exceptions/Makefile
6060
run-make/glibc-staticlib-args/Makefile
61-
run-make/include_bytes_deps/Makefile
6261
run-make/incr-add-rust-src-component/Makefile
6362
run-make/incr-foreign-head-span/Makefile
6463
run-make/inline-always-many-cgu/Makefile
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
// include_bytes! and include_str! in `main.rs`
2+
// should register the included file as of #24423,
3+
// and this test checks that this is still the case.
4+
// See https://github.com/rust-lang/rust/pull/24423
5+
6+
//FIXME(Oneirical): check if works without ignore freebsd
7+
8+
use run_make_support::{invalid_utf8_contains, rustc};
9+
10+
fn main() {
11+
rustc().emit("dep-info").input("main.rs").run();
12+
invalid_utf8_contains("main.d", "input.txt");
13+
invalid_utf8_contains("main.d", "input.bin");
14+
invalid_utf8_contains("main.d", "input.md");
15+
}

tests/run-make/include_bytes_deps/Makefile

Lines changed: 0 additions & 7 deletions
This file was deleted.

0 commit comments

Comments
 (0)