fork/rust

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

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

master
289 B11 linesraw
1# ignore-cross-compile
2include ../tools.mk
3
4# only-linux
5
6all:
7	$(RUSTC) foo.rs
8	$(CC) foo.c -lfoo -L $(TMPDIR) -Wl,--gc-sections -lpthread -ldl -o $(TMPDIR)/foo
9	$(call RUN,foo)
10	$(CC) foo.c -lfoo -L $(TMPDIR) -Wl,--gc-sections -lpthread -ldl -pie -fPIC -o $(TMPDIR)/foo
11	$(call RUN,foo)