summaryrefslogtreecommitdiffstats
path: root/tests/run-make/mingw-export-call-convention/Makefile
blob: 4a60059cc5441815bf4b3a03ca80c58cd32a0f39 (plain)
1
2
3
4
5
6
7
8
9
include ../tools.mk

# only-windows-gnu

all:
	$(RUSTC) foo.rs
	# FIXME: we should make sure __stdcall calling convention is used here
	# but that only works with LLD right now
	nm -g "$(call IMPLIB,foo)" | $(CGREP) bar