|
27 | 27 | rm $(TMPDIR)/foo
|
28 | 28 | $(RUSTC) foo.rs --emit asm=$(TMPDIR)/foo
|
29 | 29 | rm $(TMPDIR)/foo
|
| 30 | + $(RUSTC) foo.rs --emit=asm=$(TMPDIR)/foo |
| 31 | + rm $(TMPDIR)/foo |
30 | 32 | [ "$$(ls -1 $(TMPDIR) | wc -l)" -eq "0" ]
|
31 | 33 |
|
32 | 34 | $(RUSTC) foo.rs --emit llvm-bc -o $(TMPDIR)/foo
|
33 | 35 | rm $(TMPDIR)/foo
|
34 | 36 | $(RUSTC) foo.rs --emit llvm-bc=$(TMPDIR)/foo
|
35 | 37 | rm $(TMPDIR)/foo
|
| 38 | + $(RUSTC) foo.rs --emit=llvm-bc=$(TMPDIR)/foo |
| 39 | + rm $(TMPDIR)/foo |
36 | 40 | [ "$$(ls -1 $(TMPDIR) | wc -l)" -eq "0" ]
|
37 | 41 |
|
38 | 42 | $(RUSTC) foo.rs --emit llvm-ir -o $(TMPDIR)/foo
|
39 | 43 | rm $(TMPDIR)/foo
|
40 | 44 | $(RUSTC) foo.rs --emit llvm-ir=$(TMPDIR)/foo
|
41 | 45 | rm $(TMPDIR)/foo
|
| 46 | + $(RUSTC) foo.rs --emit=llvm-ir=$(TMPDIR)/foo |
| 47 | + rm $(TMPDIR)/foo |
42 | 48 | [ "$$(ls -1 $(TMPDIR) | wc -l)" -eq "0" ]
|
43 | 49 |
|
44 | 50 | $(RUSTC) foo.rs --emit obj -o $(TMPDIR)/foo
|
45 | 51 | rm $(TMPDIR)/foo
|
46 | 52 | $(RUSTC) foo.rs --emit obj=$(TMPDIR)/foo
|
47 | 53 | rm $(TMPDIR)/foo
|
| 54 | + $(RUSTC) foo.rs --emit=obj=$(TMPDIR)/foo |
| 55 | + rm $(TMPDIR)/foo |
48 | 56 | [ "$$(ls -1 $(TMPDIR) | wc -l)" -eq "0" ]
|
49 | 57 |
|
50 | 58 | $(RUSTC) foo.rs --emit link -o $(TMPDIR)/$(call BIN,foo)
|
51 | 59 | rm $(TMPDIR)/$(call BIN,foo)
|
52 | 60 | $(RUSTC) foo.rs --emit link=$(TMPDIR)/$(call BIN,foo)
|
53 | 61 | rm $(TMPDIR)/$(call BIN,foo)
|
| 62 | + $(RUSTC) foo.rs --emit=link=$(TMPDIR)/$(call BIN,foo) |
| 63 | + rm $(TMPDIR)/$(call BIN,foo) |
54 | 64 | rm -f $(TMPDIR)/foo.pdb
|
55 | 65 | [ "$$(ls -1 $(TMPDIR) | wc -l)" -eq "0" ]
|
56 | 66 |
|
57 | 67 | $(RUSTC) foo.rs --crate-type=rlib -o $(TMPDIR)/foo
|
58 | 68 | rm $(TMPDIR)/foo
|
59 | 69 | $(RUSTC) foo.rs --crate-type=rlib --emit link=$(TMPDIR)/foo
|
60 | 70 | rm $(TMPDIR)/foo
|
| 71 | + $(RUSTC) foo.rs --crate-type=rlib --emit=link=$(TMPDIR)/foo |
| 72 | + rm $(TMPDIR)/foo |
61 | 73 | [ "$$(ls -1 $(TMPDIR) | wc -l)" -eq "0" ]
|
62 | 74 |
|
63 | 75 | $(RUSTC) foo.rs --crate-type=dylib -o $(TMPDIR)/$(call BIN,foo)
|
64 | 76 | rm $(TMPDIR)/$(call BIN,foo)
|
65 | 77 | $(RUSTC) foo.rs --crate-type=dylib --emit link=$(TMPDIR)/$(call BIN,foo)
|
66 | 78 | rm $(TMPDIR)/$(call BIN,foo)
|
| 79 | + $(RUSTC) foo.rs --crate-type=dylib --emit=link=$(TMPDIR)/$(call BIN,foo) |
| 80 | + rm $(TMPDIR)/$(call BIN,foo) |
67 | 81 | rm -f $(TMPDIR)/foo.{exp,lib,pdb}
|
68 | 82 | [ "$$(ls -1 $(TMPDIR) | wc -l)" -eq "0" ]
|
69 | 83 |
|
70 | 84 | $(RUSTC) foo.rs --crate-type=staticlib -o $(TMPDIR)/foo
|
71 | 85 | rm $(TMPDIR)/foo
|
72 | 86 | $(RUSTC) foo.rs --crate-type=staticlib --emit link=$(TMPDIR)/foo
|
73 | 87 | rm $(TMPDIR)/foo
|
| 88 | + $(RUSTC) foo.rs --crate-type=staticlib --emit=link=$(TMPDIR)/foo |
| 89 | + rm $(TMPDIR)/foo |
74 | 90 | [ "$$(ls -1 $(TMPDIR) | wc -l)" -eq "0" ]
|
75 | 91 |
|
76 | 92 | $(RUSTC) foo.rs --crate-type=bin -o $(TMPDIR)/$(call BIN,foo)
|
77 | 93 | rm $(TMPDIR)/$(call BIN,foo)
|
78 | 94 | $(RUSTC) foo.rs --crate-type=bin --emit link=$(TMPDIR)/$(call BIN,foo)
|
79 | 95 | rm $(TMPDIR)/$(call BIN,foo)
|
| 96 | + $(RUSTC) foo.rs --crate-type=bin --emit=link=$(TMPDIR)/$(call BIN,foo) |
| 97 | + rm $(TMPDIR)/$(call BIN,foo) |
80 | 98 | rm -f $(TMPDIR)/foo.pdb
|
81 | 99 | [ "$$(ls -1 $(TMPDIR) | wc -l)" -eq "0" ]
|
82 | 100 |
|
|
98 | 116 | rm $(TMPDIR)/bc
|
99 | 117 | rm $(TMPDIR)/obj
|
100 | 118 | rm $(TMPDIR)/link
|
| 119 | + $(RUSTC) foo.rs --emit=asm=$(TMPDIR)/asm \ |
| 120 | + --emit llvm-ir=$(TMPDIR)/ir \ |
| 121 | + --emit=llvm-bc=$(TMPDIR)/bc \ |
| 122 | + --emit obj=$(TMPDIR)/obj \ |
| 123 | + --emit=link=$(TMPDIR)/link \ |
| 124 | + --crate-type=staticlib |
| 125 | + rm $(TMPDIR)/asm |
| 126 | + rm $(TMPDIR)/ir |
| 127 | + rm $(TMPDIR)/bc |
| 128 | + rm $(TMPDIR)/obj |
| 129 | + rm $(TMPDIR)/link |
101 | 130 | [ "$$(ls -1 $(TMPDIR) | wc -l)" -eq "0" ]
|
102 | 131 |
|
103 | 132 | $(RUSTC) foo.rs --emit=asm,llvm-ir,llvm-bc,obj,link --crate-type=staticlib
|
|
0 commit comments