fork/rust

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

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

master
395 B20 linesraw
1# ignore-cross-compile
2include ../tools.mk
3
4all: others
5	$(RUSTC) -C relocation-model=dynamic-no-pic foo.rs
6	$(call RUN,foo)
7
8	$(RUSTC) -C relocation-model=default foo.rs
9	$(call RUN,foo)
10
11	$(RUSTC) -C relocation-model=dynamic-no-pic --crate-type=dylib foo.rs --emit=link,obj
12
13ifdef IS_MSVC
14# FIXME(#28026)
15others:
16else
17others:
18	$(RUSTC) -C relocation-model=static foo.rs
19	$(call RUN,foo)
20endif