]> git.lizzy.rs Git - rust.git/blob - src/test/run-make/issue-36710/Makefile
test: run-make: flag tests which won't work in no-std environments
[rust.git] / src / test / run-make / issue-36710 / Makefile
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
6 include ../../run-make-fulldeps/tools.mk
7
8 all: foo
9         $(call RUN,foo)
10
11 foo: foo.rs $(call NATIVE_STATICLIB,foo)
12         $(RUSTC) $< -lfoo $(EXTRARSCXXFLAGS) --target $(TARGET)
13
14 $(TMPDIR)/libfoo.o: foo.cpp
15         $(call COMPILE_OBJ_CXX,$@,$<)