]> git.lizzy.rs Git - rust.git/blob - src/test/run-make/used/Makefile
5fe09e95a828d1973595dc6dcab1ab198bca95f8
[rust.git] / src / test / run-make / used / Makefile
1 -include ../tools.mk
2
3 ifdef IS_WINDOWS
4 # Do nothing on MSVC.
5 all:
6         exit 0
7 else
8 all:
9         $(RUSTC) -C opt-level=3 --emit=obj used.rs
10         nm -C $(TMPDIR)/used.o | grep FOO
11 endif