]> git.lizzy.rs Git - rust.git/commitdiff
fix location of the emitted object file
authorJorge Aparicio <japaricious@gmail.com>
Mon, 6 Mar 2017 16:18:56 +0000 (11:18 -0500)
committerJorge Aparicio <japaricious@gmail.com>
Wed, 5 Apr 2017 18:59:58 +0000 (13:59 -0500)
src/test/run-make/used/Makefile

index 70ac2e3802b81da784b2948fa5a4ca6088629522..650464e4d84541bc27421ed2528f2fa4dffc36e7 100644 (file)
@@ -7,6 +7,6 @@ all:
 else
 all:
        $(RUSTC) -C opt-level=3 --emit=obj used.rs
-       nm -C used.o | grep FOO
-       nm -C used.o | grep -v BAR
+       nm -C $(TMPDIR)/used.o | grep FOO
+       nm -C $(TMPDIR)/used.o | grep -v BAR
 endif