summaryrefslogtreecommitdiffstats
path: root/tests/run-make/export-executable-symbols/Makefile
blob: daa77c99dcdd62d39498bb849b203d294941032f (plain)
1
2
3
4
5
6
7
8
9
10
11
include ../../run-make-fulldeps/tools.mk

# ignore-wasm32
# ignore-wasm64
# ignore-none no-std is not supported
# only-linux

all:
	$(RUSTC) -Zexport-executable-symbols  main.rs --target $(TARGET) --crate-type=bin
	nm $(TMPDIR)/main | $(CGREP) exported_symbol