mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-16 13:05:18 +03:00
Add test for checking if WS2_32.dll is linked
This commit is contained in:
committed by
Simonas Kazlauskas
parent
9a6f2e655a
commit
b7d2b465b9
@@ -0,0 +1,9 @@
|
||||
# only-windows
|
||||
|
||||
-include ../../run-make-fulldeps/tools.mk
|
||||
|
||||
# Tests that WS2_32.dll is not unnecessarily linked, see issue #85441
|
||||
|
||||
all:
|
||||
$(RUSTC) empty.rs
|
||||
objdump -p $(TMPDIR)/empty.exe | $(CGREP) -v -i "WS2_32.dll"
|
||||
@@ -0,0 +1 @@
|
||||
fn main() {}
|
||||
Reference in New Issue
Block a user