mirror of
https://github.com/rust-lang/rust.git
synced 2025-01-30 16:43:41 +00:00
rewrite and rename include_bytes_deps to rmake
This commit is contained in:
parent
e2cf31a614
commit
40cad01f2f
@ -46,7 +46,6 @@ run-make/fmt-write-bloat/Makefile
|
||||
run-make/foreign-double-unwind/Makefile
|
||||
run-make/foreign-exceptions/Makefile
|
||||
run-make/foreign-rust-exceptions/Makefile
|
||||
run-make/include_bytes_deps/Makefile
|
||||
run-make/incr-add-rust-src-component/Makefile
|
||||
run-make/incr-foreign-head-span/Makefile
|
||||
run-make/interdependent-c-libraries/Makefile
|
||||
|
15
tests/run-make/include-bytes-deps/rmake.rs
Normal file
15
tests/run-make/include-bytes-deps/rmake.rs
Normal file
@ -0,0 +1,15 @@
|
||||
// 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
|
||||
|
||||
//FIXME(Oneirical): check if works without ignore freebsd
|
||||
|
||||
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");
|
||||
}
|
@ -1,7 +0,0 @@
|
||||
include ../tools.mk
|
||||
|
||||
# ignore-freebsd
|
||||
|
||||
all:
|
||||
$(RUSTC) --emit dep-info main.rs
|
||||
$(CGREP) "input.txt" "input.bin" "input.md" < $(TMPDIR)/main.d
|
Loading…
Reference in New Issue
Block a user