File tree Expand file tree Collapse file tree 3 files changed +14
-2
lines changed
test/run-make-fulldeps/windows-binary-no-external-deps Expand file tree Collapse file tree 3 files changed +14
-2
lines changed Original file line number Diff line number Diff line change @@ -57,9 +57,9 @@ pub fn opts() -> TargetOptions {
5757 // binaries to be redistributed without the libgcc_s-dw2-1.dll
5858 // dependency, but unfortunately break unwinding across DLL
5959 // boundaries when unwinding across FFI boundaries.
60- "-lgcc" . to_string( ) ,
6160 "-lgcc_eh" . to_string( ) ,
62- "-lpthread" . to_string( ) ,
61+ "-l:libpthread.a" . to_string( ) ,
62+ "-lgcc" . to_string( ) ,
6363 // libpthread depends on libmsvcrt, so we need to link it *again*.
6464 "-lmsvcrt" . to_string( ) ,
6565 "-lkernel32" . to_string( ) ,
Original file line number Diff line number Diff line change 1+ -include ../tools.mk
2+
3+ # only-windows
4+
5+ PATH =$(SYSTEMROOT ) /system32
6+
7+ all :
8+ $(RUSTC ) hello.rs
9+ $(TMPDIR ) /hello.exe
Original file line number Diff line number Diff line change 1+ fn main ( ) {
2+ println ! ( "Hello World!" ) ;
3+ }
You can’t perform that action at this time.
0 commit comments