rust/tests/run-make/export-executable-symbols/Makefile
2023-01-11 09:32:08 +00:00

12 lines
261 B
Makefile

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