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

12 lines
240 B
Makefile
Raw Normal View History

include ../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