We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
legacy
1 parent 5fd3e89 commit e331507Copy full SHA for e331507
src/test/run-make-fulldeps/a-b-a-linker-guard/Makefile
@@ -4,9 +4,12 @@
4
# of types, it will not run with a dylib that has a different set of
5
# types.
6
7
+# NOTE(eddyb) this test only works with the `legacy` mangling,
8
+# and will probably get removed once `legacy` is gone.
9
+
10
all:
- $(RUSTC) a.rs --cfg x -C prefer-dynamic
- $(RUSTC) b.rs -C prefer-dynamic
11
+ $(RUSTC) a.rs --cfg x -C prefer-dynamic -Z symbol-mangling-version=legacy
12
+ $(RUSTC) b.rs -C prefer-dynamic -Z symbol-mangling-version=legacy
13
$(call RUN,b)
- $(RUSTC) a.rs --cfg y -C prefer-dynamic
14
+ $(RUSTC) a.rs --cfg y -C prefer-dynamic -Z symbol-mangling-version=legacy
15
$(call FAIL,b)
0 commit comments