1 # ignore-cross-compile $(call RUN,foo) expects to run the target executable natively
2 # so it won't work with remote-test-server
3 # ignore-none no-std is not supported
4 # ignore-musl FIXME: this makefile needs teaching how to use a musl toolchain
5 # (see dist-i586-gnu-i586-i686-musl Dockerfile)
7 include ../../run-make-fulldeps/tools.mk
12 foo: foo.rs $(call NATIVE_STATICLIB,foo)
13 $(RUSTC) $< -lfoo $(EXTRARSCXXFLAGS) --target $(TARGET)
15 $(TMPDIR)/libfoo.o: foo.cpp
16 $(call COMPILE_OBJ_CXX,$@,$<)