]> git.lizzy.rs Git - rust.git/blob - src/test/run-make-fulldeps/relocation-model/Makefile
Rollup merge of #49046 - Zoxc:error-summary, r=michaelwoerister
[rust.git] / src / test / run-make-fulldeps / relocation-model / Makefile
1 -include ../tools.mk
2
3 all: others
4         $(RUSTC) -C relocation-model=dynamic-no-pic foo.rs
5         $(call RUN,foo)
6
7         $(RUSTC) -C relocation-model=default foo.rs
8         $(call RUN,foo)
9
10         $(RUSTC) -C relocation-model=dynamic-no-pic --crate-type=dylib foo.rs --emit=link,obj
11
12 ifdef IS_MSVC
13 # FIXME(#28026)
14 others:
15 else
16 others:
17         $(RUSTC) -C relocation-model=static foo.rs
18         $(call RUN,foo)
19 endif