Skip to content

Commit

Permalink
[windows] Add testcase to make sure executables are self-contained
Browse files Browse the repository at this point in the history
  • Loading branch information
mati865 committed Apr 11, 2020
1 parent 93dc97a commit 7e68cf8
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
-include ../tools.mk

# only-windows

PATH=$(SYSTEMROOT)/system32

all:
$(RUSTC) hello.rs
$(TMPDIR)/hello.exe
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
fn main() {
println!("Hello World!");
}

0 comments on commit 7e68cf8

Please sign in to comment.