File tree Expand file tree Collapse file tree 7 files changed +12
-65
lines changed
test/run-make/stable-symbol-names Expand file tree Collapse file tree 7 files changed +12
-65
lines changed Original file line number Diff line number Diff line change 1
1
---
2
- refs/heads/master: a09f386e8d1c31133f0ce1123fbeaedcff40a77d
2
+ refs/heads/master: a3fdde7453d82870868a1bf8db448afcf966fb34
3
3
refs/heads/snap-stage3: 235d77457d80b549dad3ac36d94f235208a1eafb
4
4
refs/heads/try: 49312a405e14a449b98fe0056b12a40ac128be4a
5
5
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
Original file line number Diff line number Diff line change @@ -608,6 +608,7 @@ opt inject-std-version 1 "inject the current compiler version of libstd into pro
608
608
opt llvm-version-check 1 " check if the LLVM version is supported, build anyway"
609
609
opt rustbuild 0 " use the rust and cargo based build system"
610
610
opt orbit 0 " get MIR where it belongs - everywhere; most importantly, in orbit"
611
+ opt codegen-tests 1 " run the src/test/codegen tests"
611
612
612
613
# Optimization and debugging options. These may be overridden by the release channel, etc.
613
614
opt_nosave optimize 1 " build optimized rust code"
1497
1498
LLVM_INST_DIR=$CFG_LLVM_ROOT
1498
1499
do_reconfigure=0
1499
1500
# Check that LLVm FileCheck is available. Needed for the tests
1500
- need_cmd $LLVM_INST_DIR /bin/FileCheck
1501
+ if [ -z " $CFG_DISABLE_CODEGEN_TESTS " ]; then
1502
+ need_cmd $LLVM_INST_DIR /bin/FileCheck
1503
+ fi
1501
1504
fi
1502
1505
1503
1506
if [ ${do_reconfigure} -ne 0 ]
Original file line number Diff line number Diff line change @@ -305,11 +305,15 @@ check-stage$(1)-T-$(2)-H-$(3)-exec: \
305
305
check-stage$(1 ) -T-$(2 ) -H-$(3 ) -doc-crates-exec \
306
306
check-stage$(1 ) -T-$(2 ) -H-$(3 ) -debuginfo-gdb-exec \
307
307
check-stage$(1 ) -T-$(2 ) -H-$(3 ) -debuginfo-lldb-exec \
308
- check-stage$(1 ) -T-$(2 ) -H-$(3 ) -codegen-exec \
309
- check-stage$(1 ) -T-$(2 ) -H-$(3 ) -codegen-units-exec \
310
308
check-stage$(1 ) -T-$(2 ) -H-$(3 ) -doc-exec \
311
309
check-stage$(1 ) -T-$(2 ) -H-$(3 ) -pretty-exec
312
310
311
+ ifndef CFG_DISABLE_CODEGEN_TESTS
312
+ check-stage$(1 ) -T-$(2 ) -H-$(3 ) -exec : \
313
+ check-stage$(1 ) -T-$(2 ) -H-$(3 ) -codegen-exec \
314
+ check-stage$(1 ) -T-$(2 ) -H-$(3 ) -codegen-units-exec
315
+ endif
316
+
313
317
# Only test the compiler-dependent crates when the target is
314
318
# able to build a compiler (when the target triple is in the set of host triples)
315
319
ifneq ($$(findstring $(2 ) ,$$(CFG_HOST ) ) ,)
Original file line number Diff line number Diff line change @@ -434,7 +434,7 @@ impl<'tcx> TyCtxt<'tcx> {
434
434
if cnum == LOCAL_CRATE {
435
435
self . sess . crate_disambiguator . get ( ) . as_str ( )
436
436
} else {
437
- self . sess . cstore . crate_disambiguator ( cnum)
437
+ self . sess . cstore . crate_name ( cnum)
438
438
}
439
439
}
440
440
Load Diff This file was deleted.
Load Diff This file was deleted.
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments