rust/tests/run-make/compile-stdin/Makefile
2024-05-08 21:44:57 -04:00

10 lines
312 B
Makefile

# When provided standard input piped directly into rustc, this test checks that the compilation completes successfully and that the output can be executed.
# See https://github.com/rust-lang/rust/pull/28805
# ignore-cross-compile
include ../tools.mk
all:
echo 'fn main(){}' | $(RUSTC) -
$(call RUN,rust_out)