fork/rust

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

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

master
265 B12 linesraw
1# ignore-cross-compile
2include ../tools.mk
3
4# Apparently older versions of GCC segfault if -g is passed...
5CC := $(CC:-g=)
6
7all:
8	$(RUSTC) foo.rs -C lto
9	$(CC) bar.c $(call STATICLIB,foo) \
10		$(call OUT_EXE,bar) \
11		$(EXTRACFLAGS) $(EXTRACXXFLAGS)
12	$(call RUN,bar)