rustc/tests/run-make/export-executable-symbols/Makefile
2023-09-14 08:56:40 +02:00

12 lines
240 B
Makefile

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