summaryrefslogtreecommitdiffstats
path: root/tests/run-make/export-executable-symbols/Makefile
blob: c4d29aa2bf4500370d64a8940a65729f61e55311 (plain)
1
2
3
4
5
6
7
8
9
10
11
include ../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