Skip to content

Commit 5430c0c

Browse files
committed
Auto merge of #48806 - alexcrichton:rollup, r=alexcrichton
Rollup of 9 pull requests - Successful merges: #48511, #48549, #48618, #48624, #48651, #48698, #48778, #48787, #48802 - Failed merges: #48669, #48710
2 parents 4cdbac6 + 16cc9ce commit 5430c0c

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

88 files changed

+831
-924
lines changed

appveyor.yml

+9-3
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,18 @@ environment:
1919
RUST_CONFIGURE_ARGS: --build=x86_64-pc-windows-msvc --enable-profiler
2020
SCRIPT: python x.py test
2121
- MSYS_BITS: 32
22-
RUST_CONFIGURE_ARGS: --build=i686-pc-windows-msvc --target=i686-pc-windows-msvc
23-
SCRIPT: python x.py test --host i686-pc-windows-msvc --target i686-pc-windows-msvc
22+
RUST_CONFIGURE_ARGS: --build=i686-pc-windows-msvc
23+
SCRIPT: python x.py test --exclude src/test/run-pass --exclude src/test/compile-fail
24+
- MSYS_BITS: 32
25+
RUST_CONFIGURE_ARGS: --build=i686-pc-windows-msvc
26+
SCRIPT: python x.py test src/test/run-pass src/test/compile-fail
2427

2528
# MSVC aux tests
2629
- MSYS_BITS: 64
27-
RUST_CHECK_TARGET: check-aux
30+
RUST_CHECK_TARGET: check-aux EXCLUDE_CARGO=1
31+
RUST_CONFIGURE_ARGS: --build=x86_64-pc-windows-msvc
32+
- MSYS_BITS: 64
33+
SCRIPT: python x.py test src/tools/cargotest src/tools/cargo
2834
RUST_CONFIGURE_ARGS: --build=x86_64-pc-windows-msvc
2935

3036
# MSVC tools tests

src/Cargo.lock

+19-39
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/bootstrap/mk/Makefile.in

+7-2
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,12 @@ Q := @
1616
BOOTSTRAP_ARGS :=
1717
endif
1818

19+
ifdef EXCLUDE_CARGO
20+
AUX_ARGS := src/tools/cargo src/tools/cargotest
21+
else
22+
AUX_ARGS :=
23+
endif
24+
1925
BOOTSTRAP := $(CFG_PYTHON) $(CFG_SRC_DIR)src/bootstrap/bootstrap.py
2026

2127
all:
@@ -52,14 +58,13 @@ check:
5258
$(Q)$(BOOTSTRAP) test $(BOOTSTRAP_ARGS)
5359
check-aux:
5460
$(Q)$(BOOTSTRAP) test \
55-
src/tools/cargo \
56-
src/tools/cargotest \
5761
src/test/pretty \
5862
src/test/run-pass/pretty \
5963
src/test/run-fail/pretty \
6064
src/test/run-pass-valgrind/pretty \
6165
src/test/run-pass-fulldeps/pretty \
6266
src/test/run-fail-fulldeps/pretty \
67+
$(AUX_ARGS) \
6368
$(BOOTSTRAP_ARGS)
6469
check-bootstrap:
6570
$(Q)$(CFG_PYTHON) $(CFG_SRC_DIR)src/bootstrap/bootstrap_test.py

src/ci/run.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ else
104104
travis_fold start "make-$1"
105105
travis_time_start
106106
echo "make -j $ncpus $1"
107-
make -j $ncpus "$1"
107+
make -j $ncpus $1
108108
local retval=$?
109109
travis_fold end "make-$1"
110110
travis_time_finish

src/etc/ziggurat_tables.py

-127
This file was deleted.

src/libcore/option.rs

+1-2
Original file line numberDiff line numberDiff line change
@@ -829,14 +829,13 @@ impl<'a, T: Clone> Option<&'a mut T> {
829829
/// # Examples
830830
///
831831
/// ```
832-
/// #![feature(option_ref_mut_cloned)]
833832
/// let mut x = 12;
834833
/// let opt_x = Some(&mut x);
835834
/// assert_eq!(opt_x, Some(&mut 12));
836835
/// let cloned = opt_x.cloned();
837836
/// assert_eq!(cloned, Some(12));
838837
/// ```
839-
#[unstable(feature = "option_ref_mut_cloned", issue = "43738")]
838+
#[stable(since = "1.26.0", feature = "option_ref_mut_cloned")]
840839
pub fn cloned(self) -> Option<T> {
841840
self.map(|t| t.clone())
842841
}

src/librustc/dep_graph/dep_node.rs

+1-3
Original file line numberDiff line numberDiff line change
@@ -559,6 +559,7 @@ define_dep_nodes!( <'tcx>
559559
[] IsReachableNonGeneric(DefId),
560560
[] IsMirAvailable(DefId),
561561
[] ItemAttrs(DefId),
562+
[] TransFnAttrs(DefId),
562563
[] FnArgNames(DefId),
563564
[] DylibDepFormats(CrateNum),
564565
[] IsPanicRuntime(CrateNum),
@@ -626,8 +627,6 @@ define_dep_nodes!( <'tcx>
626627
[input] AllCrateNums,
627628
[] ExportedSymbols(CrateNum),
628629
[eval_always] CollectAndPartitionTranslationItems,
629-
[] ExportName(DefId),
630-
[] ContainsExternIndicator(DefId),
631630
[] IsTranslatedItem(DefId),
632631
[] CodegenUnit(InternedString),
633632
[] CompileCodegenUnit(InternedString),
@@ -637,7 +636,6 @@ define_dep_nodes!( <'tcx>
637636
[] SubstituteNormalizeAndTestPredicates { key: (DefId, &'tcx Substs<'tcx>) },
638637

639638
[input] TargetFeaturesWhitelist,
640-
[] TargetFeaturesEnabled(DefId),
641639

642640
[] InstanceDefSizeEstimate { instance_def: InstanceDef<'tcx> },
643641

src/librustc/hir/check_attr.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ struct CheckAttrVisitor<'a, 'tcx: 'a> {
4747
impl<'a, 'tcx> CheckAttrVisitor<'a, 'tcx> {
4848
/// Check any attribute.
4949
fn check_attributes(&self, item: &hir::Item, target: Target) {
50-
self.tcx.target_features_enabled(self.tcx.hir.local_def_id(item.id));
50+
self.tcx.trans_fn_attrs(self.tcx.hir.local_def_id(item.id));
5151

5252
for attr in &item.attrs {
5353
if let Some(name) = attr.name() {

0 commit comments

Comments
 (0)