summaryrefslogtreecommitdiffstats
path: root/src/test/run-make/export-executable-symbols/Makefile
blob: 5006f9cb8cfeacfe3410b07e3693e90780290555 (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