File tree 4 files changed +20
-2
lines changed
4 files changed +20
-2
lines changed Original file line number Diff line number Diff line change 1
1
---
2
- refs/heads/master: b06ccb45abb5c9ea0b55c8ff8a32831188c2403f
2
+ refs/heads/master: 2f7bc90514c650fca4947835998458c56439cf33
Original file line number Diff line number Diff line change @@ -182,7 +182,8 @@ for i in \
182
182
dl stage0 stage1 stage2 stage3 \
183
183
stage0/lib stage1/lib stage2/lib stage3/lib \
184
184
test/run-pass test/run-fail test/compile-fail \
185
- test/bench/99-bottles test/bench/shootout
185
+ test/bench/99-bottles test/bench/shootout \
186
+ test/stdtest
186
187
do
187
188
make_dir $i
188
189
done
Original file line number Diff line number Diff line change @@ -337,3 +337,10 @@ test/compile-fail/%.stage2.out.tmp: test/compile-fail/%.rc $(SREQ2)
337
337
$(STAGE2 ) -c -o $(@:.o=$(X ) ) $< > $@ 2>&1 ; test $$? -ne 0
338
338
$(Q ) grep --text --quiet \
339
339
"$$(grep error-pattern $< | cut -d : -f 2- | tr -d '\n\r')" $@
340
+
341
+ STDTEST_CRATE := $(S ) src/test/stdtest/stdtest.rc
342
+ STDTEST_INPUTS := $(wildcard $(S ) src/test/stdtest/* rs)
343
+
344
+ test/stdtest/stdtest.stage1$(X ) : $(STDTEST_CRATE ) $(STDTEST_INPUTS ) $(SREQ1 )
345
+ @$(call E, compile_and_link: $@ )
346
+ $(STAGE1 ) -o $@ $< --test
Original file line number Diff line number Diff line change
1
+ use std;
2
+
3
+ // Local Variables:
4
+ // mode: rust
5
+ // fill-column: 78;
6
+ // indent-tabs-mode: nil
7
+ // c-basic-offset: 4
8
+ // buffer-file-coding-system: utf-8-unix
9
+ // compile-command: "make -k -C $RBUILD 2>&1 | sed -e 's/\\/x\\//x:\\//g'";
10
+ // End:
You can’t perform that action at this time.
0 commit comments