rust/tests/run-make/export-executable-symbols/Makefile

12 lines
261 B
Makefile
Raw Normal View History

include ../../run-make-fulldeps/tools.mk
2022-07-25 00:20:23 -05:00
# 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