fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #103046 - JanBeh:PR_clarify_cmp_terminology, r=workingjubilee3bcad65fbf6

master
450 B13 linesraw
1# ignore-cross-compile
2# Test that allocator-related symbols don't show up as exported from a cdylib as
3# they're internal to Rust and not part of the public ABI.
4
5include ../tools.mk
6
7# ignore-windows
8# FIXME: The __rdl_ and __rust_ symbol still remains, no matter using MSVC or GNU
9# See https://github.com/rust-lang/rust/pull/46207#issuecomment-347561753
10
11all:
12	$(RUSTC) foo.rs
13	nm -g "$(call DYLIB,foo)" | $(CGREP) -v __rdl_ __rde_ __rg_ __rust_