[windows] Add testcase to make sure executables are self-contained

This commit is contained in:
Mateusz Mikuła 2020-04-11 13:22:21 +02:00
parent 93dc97a853
commit 7e68cf8927
2 changed files with 12 additions and 0 deletions

View File

@ -0,0 +1,9 @@
-include ../tools.mk
# only-windows
PATH=$(SYSTEMROOT)/system32
all:
$(RUSTC) hello.rs
$(TMPDIR)/hello.exe

View File

@ -0,0 +1,3 @@
fn main() {
println!("Hello World!");
}