fork/rust

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

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

master
327 B13 linesraw
1# ignore-cross-compile
2# only-gnu
3# only-linux
4
5include ../tools.mk
6
7# This ensures that std::env::args works in a library called from C on glibc Linux.
8
9all:
10	$(RUSTC) --crate-type=staticlib library.rs
11	$(CC) program.c $(call STATICLIB,library) $(call OUT_EXE,program) \
12		$(EXTRACFLAGS) $(EXTRACXXFLAGS)
13	$(call RUN,program)