From 218caa410aa38c29984be31a5229b9fa717560ee Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Wed, 17 Apr 2024 14:19:13 +0200 Subject: Merging upstream version 1.68.2+dfsg1. Signed-off-by: Daniel Baumann --- tests/run-make/export-executable-symbols/Makefile | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 tests/run-make/export-executable-symbols/Makefile (limited to 'tests/run-make/export-executable-symbols/Makefile') diff --git a/tests/run-make/export-executable-symbols/Makefile b/tests/run-make/export-executable-symbols/Makefile new file mode 100644 index 000000000..daa77c99d --- /dev/null +++ b/tests/run-make/export-executable-symbols/Makefile @@ -0,0 +1,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 + -- cgit v1.2.3