Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rollup of 9 pull requests #48806

Merged
merged 42 commits into from
Mar 8, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
42 commits
Select commit Hold shift + click to select a range
fc2e4e7
Put some thought and documentation effort into process::ExitCode
scottmcm Feb 27, 2018
2ce2b40
Fix linkchecker
scottmcm Mar 1, 2018
75fd910
Update rust-installer
Eijebong Mar 2, 2018
4858065
Reupdate rust-installer
Eijebong Mar 2, 2018
81f0b96
Refactor away `inferred_obligations` from the trait selector
aravind-pg Mar 4, 2018
517f861
Remove ty::Predicate::Equate and ty::EquatePredicate (dead code)
ishitatsuyuki Mar 3, 2018
74c5c6e
Move process::ExitCode internals to sys
scottmcm Mar 4, 2018
6fdf637
Fixed #48425
PramodBisht Feb 27, 2018
831009f
Add resource-suffix option for rustdoc
GuillaumeGomez Feb 24, 2018
04eaefb
rustc: Update LLVM
alexcrichton Mar 6, 2018
d04362f
Stabilize option_ref_mut_cloned
mbrubeck Mar 6, 2018
c92630a
Fix save-analysis generation panic with invalid tuple access
sinkuu Mar 6, 2018
f5a3efe
Do not panic on tuple struct access out of bounds
sinkuu Mar 6, 2018
3a17f29
Remove unused 'src/etc/ziggurat_tables.py' Python script.
frewsxcv Mar 7, 2018
62089c3
Make metadata references Send + Sync
Zoxc Mar 3, 2018
e8cd6cc
Add query for trans fn attributes
wesleywiser Jan 16, 2018
4f840a6
Add `inline` to `TransFnAttrs`
wesleywiser Jan 31, 2018
97b30f0
Replace attr::contains_name(..., "cold")
wesleywiser Feb 5, 2018
5460b88
Remove export_name query
wesleywiser Feb 7, 2018
6bc7f41
Remove the contains_extern_indicator query
wesleywiser Feb 27, 2018
39f9d23
Add flag for rustc_std_internal_symbol attribute
wesleywiser Feb 27, 2018
07890c5
Add target_features to TransFnAttrs
wesleywiser Feb 28, 2018
368e586
Add linkage to TransFnAttrs
wesleywiser Feb 28, 2018
e0f7527
Add caching for trans_fn_attrs query
wesleywiser Mar 6, 2018
a06aed1
Rollup merge of #48511 - GuillaumeGomez:rustdoc-resource-suffix, r=Qu…
alexcrichton Mar 7, 2018
db824b2
Update compiletest's dependencies
alexcrichton Mar 6, 2018
de3a63d
Rollup merge of #48618 - scottmcm:elaborate-exitcode, r=alexcrichton
alexcrichton Mar 7, 2018
62c8e25
Rollup merge of #48651 - PramodBisht:issues/48425, r=oli-obk
alexcrichton Mar 7, 2018
584a28f
Rollup merge of #48698 - ishitatsuyuki:burn-equate, r=nikomatsakis
alexcrichton Mar 7, 2018
0e6df53
Rollup merge of #48778 - sinkuu:rls_crash_tuple_struct, r=nrc
alexcrichton Mar 7, 2018
05ebc19
Rollup merge of #48787 - mbrubeck:cloned, r=joshtriplett
alexcrichton Mar 7, 2018
52af558
Rollup merge of #48802 - frewsxcv:frewsxcv-rm-python-zigg, r=alexcric…
alexcrichton Mar 7, 2018
53cda8e
Merge branch 'bump_installer' of https://github.com/Eijebong/rust int…
alexcrichton Mar 7, 2018
8121db3
Merge branch 'refactor-select' of https://github.com/aravind-pg/rust …
alexcrichton Mar 7, 2018
7bc6468
Merge branch 'compiletest-update' of https://github.com/alexcrichton/…
alexcrichton Mar 7, 2018
a8eaabc
Update cargo lock
alexcrichton Mar 7, 2018
5a5e941
Merge branch 'metadata-send-sync' of https://github.com/Zoxc/rust int…
alexcrichton Mar 7, 2018
b5bcb9a
Merge branch 'incr_attr_queries' of https://github.com/wesleywiser/ru…
alexcrichton Mar 7, 2018
a752453
Merge branch 'update-llvm' of https://github.com/alexcrichton/rust in…
alexcrichton Mar 7, 2018
7f465ab
appveyor: Shard more slow MSVC builders
alexcrichton Mar 7, 2018
7c05044
Merge branch 'shard-msvc-more' of https://github.com/alexcrichton/rus…
alexcrichton Mar 7, 2018
16cc9ce
Fix an error in the appveyor config
alexcrichton Mar 7, 2018
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 9 additions & 3 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,18 @@ environment:
RUST_CONFIGURE_ARGS: --build=x86_64-pc-windows-msvc --enable-profiler
SCRIPT: python x.py test
- MSYS_BITS: 32
RUST_CONFIGURE_ARGS: --build=i686-pc-windows-msvc --target=i686-pc-windows-msvc
SCRIPT: python x.py test --host i686-pc-windows-msvc --target i686-pc-windows-msvc
RUST_CONFIGURE_ARGS: --build=i686-pc-windows-msvc
SCRIPT: python x.py test --exclude src/test/run-pass --exclude src/test/compile-fail
- MSYS_BITS: 32
RUST_CONFIGURE_ARGS: --build=i686-pc-windows-msvc
SCRIPT: python x.py test src/test/run-pass src/test/compile-fail

# MSVC aux tests
- MSYS_BITS: 64
RUST_CHECK_TARGET: check-aux
RUST_CHECK_TARGET: check-aux EXCLUDE_CARGO=1
RUST_CONFIGURE_ARGS: --build=x86_64-pc-windows-msvc
- MSYS_BITS: 64
SCRIPT: python x.py test src/tools/cargotest src/tools/cargo
RUST_CONFIGURE_ARGS: --build=x86_64-pc-windows-msvc

# MSVC tools tests
Expand Down
58 changes: 19 additions & 39 deletions src/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 7 additions & 2 deletions src/bootstrap/mk/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,12 @@ Q := @
BOOTSTRAP_ARGS :=
endif

ifdef EXCLUDE_CARGO
AUX_ARGS := src/tools/cargo src/tools/cargotest
else
AUX_ARGS :=
endif

BOOTSTRAP := $(CFG_PYTHON) $(CFG_SRC_DIR)src/bootstrap/bootstrap.py

all:
Expand Down Expand Up @@ -52,14 +58,13 @@ check:
$(Q)$(BOOTSTRAP) test $(BOOTSTRAP_ARGS)
check-aux:
$(Q)$(BOOTSTRAP) test \
src/tools/cargo \
src/tools/cargotest \
src/test/pretty \
src/test/run-pass/pretty \
src/test/run-fail/pretty \
src/test/run-pass-valgrind/pretty \
src/test/run-pass-fulldeps/pretty \
src/test/run-fail-fulldeps/pretty \
$(AUX_ARGS) \
$(BOOTSTRAP_ARGS)
check-bootstrap:
$(Q)$(CFG_PYTHON) $(CFG_SRC_DIR)src/bootstrap/bootstrap_test.py
Expand Down
2 changes: 1 addition & 1 deletion src/ci/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ else
travis_fold start "make-$1"
travis_time_start
echo "make -j $ncpus $1"
make -j $ncpus "$1"
make -j $ncpus $1
local retval=$?
travis_fold end "make-$1"
travis_time_finish
Expand Down
127 changes: 0 additions & 127 deletions src/etc/ziggurat_tables.py

This file was deleted.

3 changes: 1 addition & 2 deletions src/libcore/option.rs
Original file line number Diff line number Diff line change
Expand Up @@ -829,14 +829,13 @@ impl<'a, T: Clone> Option<&'a mut T> {
/// # Examples
///
/// ```
/// #![feature(option_ref_mut_cloned)]
/// let mut x = 12;
/// let opt_x = Some(&mut x);
/// assert_eq!(opt_x, Some(&mut 12));
/// let cloned = opt_x.cloned();
/// assert_eq!(cloned, Some(12));
/// ```
#[unstable(feature = "option_ref_mut_cloned", issue = "43738")]
#[stable(since = "1.26.0", feature = "option_ref_mut_cloned")]
pub fn cloned(self) -> Option<T> {
self.map(|t| t.clone())
}
Expand Down
4 changes: 1 addition & 3 deletions src/librustc/dep_graph/dep_node.rs
Original file line number Diff line number Diff line change
Expand Up @@ -559,6 +559,7 @@ define_dep_nodes!( <'tcx>
[] IsReachableNonGeneric(DefId),
[] IsMirAvailable(DefId),
[] ItemAttrs(DefId),
[] TransFnAttrs(DefId),
[] FnArgNames(DefId),
[] DylibDepFormats(CrateNum),
[] IsPanicRuntime(CrateNum),
Expand Down Expand Up @@ -626,8 +627,6 @@ define_dep_nodes!( <'tcx>
[input] AllCrateNums,
[] ExportedSymbols(CrateNum),
[eval_always] CollectAndPartitionTranslationItems,
[] ExportName(DefId),
[] ContainsExternIndicator(DefId),
[] IsTranslatedItem(DefId),
[] CodegenUnit(InternedString),
[] CompileCodegenUnit(InternedString),
Expand All @@ -637,7 +636,6 @@ define_dep_nodes!( <'tcx>
[] SubstituteNormalizeAndTestPredicates { key: (DefId, &'tcx Substs<'tcx>) },

[input] TargetFeaturesWhitelist,
[] TargetFeaturesEnabled(DefId),

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

Expand Down
2 changes: 1 addition & 1 deletion src/librustc/hir/check_attr.rs
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ struct CheckAttrVisitor<'a, 'tcx: 'a> {
impl<'a, 'tcx> CheckAttrVisitor<'a, 'tcx> {
/// Check any attribute.
fn check_attributes(&self, item: &hir::Item, target: Target) {
self.tcx.target_features_enabled(self.tcx.hir.local_def_id(item.id));
self.tcx.trans_fn_attrs(self.tcx.hir.local_def_id(item.id));

for attr in &item.attrs {
if let Some(name) = attr.name() {
Expand Down
Loading