test: force `legacy` mangling for run-make-fulldeps/a-b-a-linker-guard.
This commit is contained in:
parent
5fd3e89d70
commit
e3315075f9
|
@ -4,9 +4,12 @@
|
||||||
# of types, it will not run with a dylib that has a different set of
|
# of types, it will not run with a dylib that has a different set of
|
||||||
# types.
|
# types.
|
||||||
|
|
||||||
|
# NOTE(eddyb) this test only works with the `legacy` mangling,
|
||||||
|
# and will probably get removed once `legacy` is gone.
|
||||||
|
|
||||||
all:
|
all:
|
||||||
$(RUSTC) a.rs --cfg x -C prefer-dynamic
|
$(RUSTC) a.rs --cfg x -C prefer-dynamic -Z symbol-mangling-version=legacy
|
||||||
$(RUSTC) b.rs -C prefer-dynamic
|
$(RUSTC) b.rs -C prefer-dynamic -Z symbol-mangling-version=legacy
|
||||||
$(call RUN,b)
|
$(call RUN,b)
|
||||||
$(RUSTC) a.rs --cfg y -C prefer-dynamic
|
$(RUSTC) a.rs --cfg y -C prefer-dynamic -Z symbol-mangling-version=legacy
|
||||||
$(call FAIL,b)
|
$(call FAIL,b)
|
||||||
|
|
Loading…
Reference in New Issue