1 # ignore-riscv64 $(call RUN,foo) expects to run the target executable natively
2 # so it won't work with remote-test-server
3 # ignore-arm Another build using remote-test-server
4 # ignore-none no-std is not supported
5 # ignore-wasm32 FIXME: don't attempt to compile C++ to WASM
6 # ignore-wasm64 FIXME: don't attempt to compile C++ to WASM
7 # ignore-nvptx64-nvidia-cuda FIXME: can't find crate for `std`
8 # ignore-musl FIXME: this makefile needs teaching how to use a musl toolchain
9 # (see dist-i586-gnu-i586-i686-musl Dockerfile)
11 include ../../run-make-fulldeps/tools.mk
16 foo: foo.rs $(call NATIVE_STATICLIB,foo)
17 $(RUSTC) $< -lfoo $(EXTRARSCXXFLAGS) --target $(TARGET)
19 $(TMPDIR)/libfoo.o: foo.cpp
20 $(call COMPILE_OBJ_CXX,$@,$<)