fork/rust
git clone https://git.julia.blue/fork/rust
4560ea788cb
1.39.0
1-include ../tools.mk 2 3# only-linux 4 5all: 6 $(RUSTC) foo.rs 7 $(CC) foo.c -lfoo -L $(TMPDIR) -Wl,--gc-sections -lpthread -ldl -o $(TMPDIR)/foo 8 $(call RUN,foo) 9 $(CC) foo.c -lfoo -L $(TMPDIR) -Wl,--gc-sections -lpthread -ldl -pie -fPIC -o $(TMPDIR)/foo 10 $(call RUN,foo)