[windows] Add testcase to make sure executables are self-contained
This commit is contained in:
parent
93dc97a853
commit
7e68cf8927
2 changed files with 12 additions and 0 deletions
|
@ -0,0 +1,9 @@
|
||||||
|
-include ../tools.mk
|
||||||
|
|
||||||
|
# only-windows
|
||||||
|
|
||||||
|
PATH=$(SYSTEMROOT)/system32
|
||||||
|
|
||||||
|
all:
|
||||||
|
$(RUSTC) hello.rs
|
||||||
|
$(TMPDIR)/hello.exe
|
|
@ -0,0 +1,3 @@
|
||||||
|
fn main() {
|
||||||
|
println!("Hello World!");
|
||||||
|
}
|
Loading…
Add table
Add a link
Reference in a new issue