]>
git.lizzy.rs Git - rust.git/log
kennytm [Fri, 27 Apr 2018 20:51:00 +0000 (04:51 +0800)]
Rollup merge of #50257 - estebank:fix-49560, r=nikomatsakis
Don't ICE on tuple struct ctor with incorrect arg count
Fix #49560.
kennytm [Fri, 27 Apr 2018 19:32:20 +0000 (03:32 +0800)]
Rollup merge of #50284 - GuillaumeGomez:search-load-failure, r=SimonSapin
fix search load page failure
Fixes #50283.
r? @QuietMisdreavus
kennytm [Fri, 27 Apr 2018 19:32:18 +0000 (03:32 +0800)]
Rollup merge of #50273 - Amanieu:issue-49532, r=alexcrichton
Allow #[inline] on closures
Fixes #49632
kennytm [Fri, 27 Apr 2018 19:32:17 +0000 (03:32 +0800)]
Rollup merge of #50269 - alexcrichton:update-parking-lot, r=Mark-Simulacrum
Update `parking_lot` dependencies
This commit updates `parking_lot` to pull in Amanieu/parking_lot#70 and...
Closes #49438
kennytm [Fri, 27 Apr 2018 19:32:16 +0000 (03:32 +0800)]
Rollup merge of #50263 - alexcrichton:uwtable-allcoators, r=eddyb
rustc: Emit `uwtable` for allocator shims
This commit emits the `uwtable` attribute to LLVM for platforms that require it
for the allocator shims that we generate to ensure that they can hopefully get
unwound past. This is a stab in the dark at helping
https://bugzilla.mozilla.org/show_bug.cgi?id=
1456150 along.
kennytm [Fri, 27 Apr 2018 19:32:15 +0000 (03:32 +0800)]
Rollup merge of #50251 - alexcrichton:wasm-no-threads, r=eddyb
rustc: Disable threads in LLD for wasm
Upstream bug reports (rustwasm/wasm-bindgen#119) show that this may be the
culprit of odd crashes/hangs. The linker is a tiny fraction of build time anyway
right now so let's disable it and figure out how to possibly reenable it later
if necessary.
kennytm [Fri, 27 Apr 2018 19:32:13 +0000 (03:32 +0800)]
Rollup merge of #50192 - bobtwinkles:libsyntax_extensions, r=jseyfried
Add some utilities to `libsyntax`
Adds a few functions to `Mark` and `Span` that I found useful in an upcoming refactor of NLL region error reporting. Also includes some new documentation based on my discussion with @jseyfried on IRC.
r? @jseyfried
kennytm [Fri, 27 Apr 2018 19:32:12 +0000 (03:32 +0800)]
Rollup merge of #49968 - christianpoveda:stabilize_dyn, r=nikomatsakis
Stabilize dyn trait
This PR stabilizes RFC 2113. I followed the [stabilization guide](https://forge.rust-lang.org/stabilization-guide.html).
Related issue: https://github.com/rust-lang/rust/issues/49218
kennytm [Fri, 27 Apr 2018 19:32:11 +0000 (03:32 +0800)]
Rollup merge of #49858 - dmizuk:unique-doc-hidden, r=steveklabnik
std: Mark `ptr::Unique` with `#[doc(hidden)]`
`Unique` is now perma-unstable, so let's hide its docs.
bors [Fri, 27 Apr 2018 16:42:31 +0000 (16:42 +0000)]
Auto merge of #50102 - Zoxc:query-nomacro, r=michaelwoerister
Move query code outside macros and store query jobs separately from query results
Based on https://github.com/rust-lang/rust/pull/50067
r? @michaelwoerister
Christian Poveda [Wed, 25 Apr 2018 17:55:21 +0000 (12:55 -0500)]
rustdoc asks for dyn_trait feature in stage0
Christian Poveda [Wed, 25 Apr 2018 15:38:15 +0000 (10:38 -0500)]
fixed tests
Guillaume Gomez [Fri, 27 Apr 2018 15:14:29 +0000 (17:14 +0200)]
fix search load page failure
Christian Poveda [Wed, 18 Apr 2018 18:33:36 +0000 (13:33 -0500)]
removed dyn trait attribute from librustdoc
Christian Poveda [Sun, 15 Apr 2018 14:41:10 +0000 (09:41 -0500)]
fixed rustc version for dyn_trait
Christian Poveda [Sat, 14 Apr 2018 00:21:23 +0000 (19:21 -0500)]
updated stderr files and removed feature-gate test for dyn_trait
Christian Poveda [Fri, 13 Apr 2018 22:07:33 +0000 (17:07 -0500)]
removed linting for dyn_trait
Christian Poveda [Thu, 12 Apr 2018 21:55:09 +0000 (16:55 -0500)]
dyn_trait feature-gate just for stage0
Christian Poveda [Thu, 12 Apr 2018 21:54:17 +0000 (16:54 -0500)]
removed dyn_trait feature from tests
Christian Poveda [Thu, 12 Apr 2018 21:53:28 +0000 (16:53 -0500)]
stop requiring the feature-gate to use dyn_trait
bors [Fri, 27 Apr 2018 12:24:17 +0000 (12:24 +0000)]
Auto merge of #50097 - glandium:box_free, r=nikomatsakis
Partial future-proofing for Box<T, A>
In some ways, this is similar to @eddyb's PR #47043 that went stale, but doesn't cover everything. Notably, this still leaves Box internalized as a pointer in places, so practically speaking, only ZSTs can be practically added to the Box type with the changes here (the compiler ICEs otherwise).
The Box type is not changed here, that's left for the future because I want to test that further first, but this puts things in place in a way that hopefully will make things easier.
Amanieu d'Antras [Fri, 27 Apr 2018 05:20:46 +0000 (07:20 +0200)]
Allow #[inline] on closures
Fixes #49632
John Kåre Alsaker [Fri, 27 Apr 2018 10:08:54 +0000 (12:08 +0200)]
Address comments
John Kåre Alsaker [Fri, 20 Apr 2018 07:47:26 +0000 (09:47 +0200)]
Store query jobs and query results in separate maps to reduce memory usage
John Kåre Alsaker [Thu, 19 Apr 2018 00:33:24 +0000 (02:33 +0200)]
Move query functions out from the define_maps! macro
John Kåre Alsaker [Wed, 18 Apr 2018 02:35:40 +0000 (04:35 +0200)]
Create a job immediately when looking in the query map and start it later
bors [Fri, 27 Apr 2018 09:59:12 +0000 (09:59 +0000)]
Auto merge of #50275 - kennytm:rollup, r=kennytm
Rollup of 7 pull requests
Successful merges:
- #49707 (Add "the Rustc book")
- #50222 (Bump bootstrap compiler to 2018-04-24)
- #50227 (Fix ICE with erroneous `impl Trait` in a trait impl)
- #50229 (Add setting to go to item if there is only one result)
- #50231 (Add more doc aliases)
- #50246 (Make dump_{alloc,allocs,local}() no-ops when tracing is disabled.)
- #49894 (Rename InternedString to LocalInternedString and introduce a new thread-safe InternedString)
Failed merges:
kennytm [Fri, 27 Apr 2018 08:25:23 +0000 (16:25 +0800)]
Rollup merge of #49894 - Zoxc:sync-internedstring, r=michaelwoerister
Rename InternedString to LocalInternedString and introduce a new thread-safe InternedString
This is an allocation-free alternative to https://github.com/rust-lang/rust/pull/46972.
kennytm [Fri, 27 Apr 2018 06:16:49 +0000 (14:16 +0800)]
Rollup merge of #50246 - nnethercote:no-dump_allocs, r=Mark-Simulacrum
Make dump_{alloc,allocs,local}() no-ops when tracing is disabled.
Because they traverse data structures and build up strings, which is
wasted effort if those strings aren't printed.
The patch also removes some now-unnecessary log_enabled! tests at call
sites.
This is a big win for the Debug and Opt runs of coercions, tuple-stress, html5ever, and encoding.
```
coercions-opt
avg: -7.8% min: -14.8% max: 0.1%
coercions
avg: -8.0% min: -12.8% max: 0.1%
tuple-stress
avg: -7.2% min: -10.8% max: -0.7%
tuple-stress-opt
avg: -6.9% min: -10.7% max: 0.6%
html5ever
avg: -4.6% min: -7.3% max: -0.3%
encoding
avg: -2.4% min: -4.5% max: 0.1%
html5ever-opt
avg: -2.7% min: -4.2% max: -0.2%
encoding-opt
avg: -1.4% min: -2.4% max: 0.0%
```
kennytm [Fri, 27 Apr 2018 06:16:48 +0000 (14:16 +0800)]
Rollup merge of #50231 - GuillaumeGomez:doc-aliases, r=QuietMisdreavus
Add more doc aliases
r? @QuietMisdreavus
kennytm [Fri, 27 Apr 2018 06:16:46 +0000 (14:16 +0800)]
Rollup merge of #50229 - GuillaumeGomez:search-one-result, r=QuietMisdreavus
Add setting to go to item if there is only one result
Fixes #50216.
r? @QuietMisdreavus
kennytm [Fri, 27 Apr 2018 06:16:45 +0000 (14:16 +0800)]
Rollup merge of #50227 - sinkuu:ice_non_local_trait, r=estebank
Fix ICE with erroneous `impl Trait` in a trait impl
Fixes #49841.
kennytm [Fri, 27 Apr 2018 06:16:44 +0000 (14:16 +0800)]
Rollup merge of #50222 - michaelwoerister:bump-stage0-compiler-to-2018-04-24, r=alexcrichton
Bump bootstrap compiler to 2018-04-24
r? @alexcrichton
bors [Fri, 27 Apr 2018 07:43:46 +0000 (07:43 +0000)]
Auto merge of #49891 - cuviper:compiletest-crash, r=alexcrichton
compiletest: detect non-ICE compiler panics
Fixes #49888, but will be blocked by revealing #49889.
kennytm [Fri, 27 Apr 2018 06:16:42 +0000 (14:16 +0800)]
Rollup merge of #49707 - steveklabnik:rustc-book, r=QuietMisdreavus
Add "the Rustc book"
This PR introduces a new book into the documentation, "The rustc book". We already have books for Cargo, and for Rustdoc, rustc should have some too. This book is focused on *users* of rustc, and provides a nice place to write documentation for users.
I haven't put content here, but plan on scaffolding it out very soon, and wanted this PR open for a few discussions first. One of those is "what exactly should said TOC be?" I plan on having a proposed one up tomorrow, but figured I'd let people know to start thinking about it now.
The big one is that we also will want to put https://github.com/rust-lang-nursery/rustc-guide in-tree as well, and the naming is... tough. I'm proposing:
* doc.rust-lang.org/rustc is "The Rustc book", to mirror the other tools' books.
* doc.rust-lang.org/rustc-contribution is "The Rustc contribution guide", and contains that book
@nikomatsakis et al, any thoughts on this? I'm not attached to it in particular, but had to put something together to get this discussion going. I think mirroring the other tools is a good idea for this work, but am not sure where exactly that leaves yours.
Fixes https://github.com/rust-docs/team/issues/11
bors [Fri, 27 Apr 2018 03:53:39 +0000 (03:53 +0000)]
Auto merge of #48995 - aravind-pg:canonical-query, r=nikomatsakis
Create a canonical trait query for `evaluate_obligation`
This builds on the canonical query machinery introduced in #48411 to introduce a new canonical trait query for `evaluate_obligation` in the trait selector. Also ports most callers of the original `evaluate_obligation` to the new system (except in coherence, which requires support for intercrate mode). Closes #48537.
r? @nikomatsakis
Alex Crichton [Fri, 27 Apr 2018 03:50:06 +0000 (20:50 -0700)]
Update `parking_lot` dependencies
This commit updates `parking_lot` to pull in Amanieu/parking_lot#70 and...
Closes #49438
John Kåre Alsaker [Wed, 11 Apr 2018 21:02:41 +0000 (23:02 +0200)]
Rename InternedString to LocalInternedString and introduce a new thread-safe InternedString
bors [Fri, 27 Apr 2018 01:30:10 +0000 (01:30 +0000)]
Auto merge of #49420 - nox:enum-scalarpair, r=eddyb
Use ScalarPair for tagged enums
Aravind Gollakota [Sun, 22 Apr 2018 21:48:38 +0000 (16:48 -0500)]
Update a compile-fail test
Aravind Gollakota [Thu, 19 Apr 2018 08:15:36 +0000 (03:15 -0500)]
Retry canonical trait query in standard mode if overflow occurs
This is slightly hacky and hopefully only a somewhat temporary solution.
Aravind Gollakota [Thu, 19 Apr 2018 07:49:21 +0000 (02:49 -0500)]
Remove the stored obligation in OverflowError to simplify things
We will shortly refactor things so that it is no longer needed
Aravind Gollakota [Thu, 19 Apr 2018 07:28:03 +0000 (02:28 -0500)]
Introduce trait query mode and use it to set overflow error handling policy in traits::select
Aravind Gollakota [Sun, 8 Apr 2018 07:04:46 +0000 (02:04 -0500)]
Simplify trait selector's evaluation API slightly
Aravind Gollakota [Sun, 8 Apr 2018 06:56:27 +0000 (01:56 -0500)]
Port existing callers of `evaluate_obligation` to the new canonical trait query
Except the one in coherence, which needs support for intercrate mode.
Aravind Gollakota [Fri, 9 Mar 2018 00:30:37 +0000 (18:30 -0600)]
Create a canonical trait query for `evaluate_obligation`
Aravind Gollakota [Thu, 5 Apr 2018 17:29:18 +0000 (12:29 -0500)]
Refactor overflow handling in traits::select to propagate overflow instead of aborting eagerly
We store the obligation that caused the overflow as part of the OverflowError, and report it at the public API endpoints (rather than in the implementation internals).
Alex Crichton [Fri, 27 Apr 2018 00:09:08 +0000 (17:09 -0700)]
rustc: Emit `uwtable` for allocator shims
This commit emits the `uwtable` attribute to LLVM for platforms that require it
for the allocator shims that we generate to ensure that they can hopefully get
unwound past. This is a stab in the dark at helping
https://bugzilla.mozilla.org/show_bug.cgi?id=
1456150 along.
bors [Thu, 26 Apr 2018 23:11:39 +0000 (23:11 +0000)]
Auto merge of #50253 - nikomatsakis:regressions-2018-04-26, r=eddyb
drop elaboration should reveal all
This used to happen implicitly through the normalization function; but we now keep the param-env as is, which seems less surprising.
cc #49685
r? @eddyb
bobtwinkles [Thu, 26 Apr 2018 22:28:34 +0000 (18:28 -0400)]
Fix review nits
Esteban Küber [Thu, 26 Apr 2018 21:19:21 +0000 (14:19 -0700)]
Don't ICE on tuple struct ctor with incorrect arg count
bors [Thu, 26 Apr 2018 18:26:03 +0000 (18:26 +0000)]
Auto merge of #49513 - nox:univariant-fieldless-enum-as-zst, r=eddyb
Treat repr(Rust) univariant fieldless enums as ZSTs
This makes all those enums be represented the same way:
```rust
enum A1 { B1 }
enum A2 { B2 = 0 }
enum A3 { B3, C3(!) }
```
Related to #15747.
Cc @rust-lang/wg-codegen @rust-lang/lang
Guillaume Gomez [Wed, 25 Apr 2018 17:50:32 +0000 (19:50 +0200)]
Add setting to go to item if there is only one result
Niko Matsakis [Thu, 26 Apr 2018 17:42:22 +0000 (13:42 -0400)]
add regression test
Fixes #49685
Niko Matsakis [Thu, 26 Apr 2018 17:31:31 +0000 (13:31 -0400)]
use `reveal_all` during drop elaboration
This used to happen by default as part of the normalization routine
that was being used.
Niko Matsakis [Thu, 26 Apr 2018 17:31:24 +0000 (13:31 -0400)]
improved debug output
bors [Thu, 26 Apr 2018 16:00:48 +0000 (16:00 +0000)]
Auto merge of #50228 - irinagpopa:backstory-v2, r=nikomatsakis
Rename rustc_back to rustc_target and move ABI code to it.
Fixes #45226.
Irina Popa [Thu, 26 Apr 2018 13:07:26 +0000 (16:07 +0300)]
Fixed tidy errors.
Irina Popa [Wed, 25 Apr 2018 16:30:39 +0000 (19:30 +0300)]
rustc_target: move in syntax::abi and flip dependency.
Anthony Ramine [Wed, 25 Apr 2018 08:33:02 +0000 (10:33 +0200)]
Mark SingleVariant as repr(u8) in c-style-enum
I should rather properly fix debuginfo but I have no clue how to do that.
Anthony Ramine [Fri, 30 Mar 2018 13:49:56 +0000 (15:49 +0200)]
Treat repr(Rust) univariant fieldless enums as a ZST (fixes #15747)
This makes all those enums be represented the same way:
```rust
enum A1 { B1 }
enum A2 { B2 = 0 }
enum A3 { B3, C3(!) }
```
Alex Crichton [Thu, 26 Apr 2018 13:56:37 +0000 (06:56 -0700)]
rustc: Disable threads in LLD for wasm
Upstream bug reports (rustwasm/wasm-bindgen#119) show that this may be the
culprit of odd crashes/hangs. The linker is a tiny fraction of build time anyway
right now so let's disable it and figure out how to possibly reenable it later
if necessary.
Irina Popa [Wed, 25 Apr 2018 13:45:29 +0000 (16:45 +0300)]
rustc_target: move in cabi_* from rustc_trans.
Irina Popa [Wed, 18 Apr 2018 13:01:26 +0000 (16:01 +0300)]
rustc_trans: generalize cabi_* to any context type.
Irina Popa [Wed, 7 Feb 2018 17:27:43 +0000 (19:27 +0200)]
rustc_target: move for_variant and field TyLayout methods to a trait.
Irina Popa [Mon, 5 Feb 2018 19:07:20 +0000 (21:07 +0200)]
rustc_target: move LayoutOf's type parameter to an associated type.
Irina Popa [Thu, 28 Dec 2017 17:07:02 +0000 (19:07 +0200)]
rustc_target: move in type definitions from rustc_trans::abi.
Irina Popa [Mon, 18 Dec 2017 14:18:36 +0000 (16:18 +0200)]
rustc_target: move in type definitions from ty::layout.
Irina Popa [Fri, 8 Dec 2017 19:18:21 +0000 (21:18 +0200)]
Rename rustc_back::target to rustc_target::spec.
Irina Popa [Fri, 8 Dec 2017 15:07:47 +0000 (17:07 +0200)]
rustc_back: move LinkerFlavor, PanicStrategy, and RelroLevel to target.
Anthony Ramine [Thu, 12 Apr 2018 13:11:14 +0000 (15:11 +0200)]
Add a test for casts of univariant C-like enums
Oliver Schneider [Sat, 31 Mar 2018 21:06:26 +0000 (23:06 +0200)]
Properly evaluate zst enum
Anthony Ramine [Wed, 11 Apr 2018 15:30:49 +0000 (17:30 +0200)]
Consistently use C_uint_big for discriminants
Anthony Ramine [Wed, 11 Apr 2018 15:25:18 +0000 (17:25 +0200)]
Properly look for uninhabitedness when handling discriminants
Shotaro Yamada [Mon, 23 Apr 2018 04:54:09 +0000 (13:54 +0900)]
Do not ICE on generics mismatch with non-local traits
Fixes #49841
bors [Thu, 26 Apr 2018 11:07:14 +0000 (11:07 +0000)]
Auto merge of #50245 - GuillaumeGomez:rollup, r=GuillaumeGomez
Rollup of 4 pull requests
Successful merges:
- #50177 (mark std::str::replace(,n) as #[must_use])
- #50207 (Hash EntryKind::AssociatedConst const data)
- #50214 (Js improvements)
- #50219 (Added missing `.` in docs.)
Failed merges:
- #50229 (Add setting to go to item if there is only one result)
Guillaume Gomez [Wed, 25 Apr 2018 18:10:58 +0000 (20:10 +0200)]
Add more doc aliases
Nicholas Nethercote [Thu, 26 Apr 2018 05:35:24 +0000 (15:35 +1000)]
Make dump_{alloc,allocs,local}() no-ops when tracing is disabled.
Because they traverse data structures and build up strings, which is
wasted effort if those strings aren't printed.
The patch also removes some now-unnecessary log_enabled! tests at call
sites.
bors [Thu, 26 Apr 2018 08:51:39 +0000 (08:51 +0000)]
Auto merge of #50072 - oli-obk:discriminants, r=eddyb
Allow variant discriminant initializers to refer to other initializer…
…s of the same enum
r? @eddyb
fixes the 2.4 failure of https://github.com/rust-lang/rust/issues/49765
cc @durka @retep998
Guillaume Gomez [Thu, 26 Apr 2018 08:11:16 +0000 (10:11 +0200)]
Rollup merge of #50219 - ralfbiedert:master, r=frewsxcv
Added missing `.` in docs.
Guillaume Gomez [Thu, 26 Apr 2018 08:11:15 +0000 (10:11 +0200)]
Rollup merge of #50214 - GuillaumeGomez:JS-improvements, r=QuietMisdreavus
Js improvements
r? @QuietMisdreavus
Guillaume Gomez [Thu, 26 Apr 2018 08:11:14 +0000 (10:11 +0200)]
Rollup merge of #50207 - wesleywiser:hash_const_data, r=eddyb
Hash EntryKind::AssociatedConst const data
Related to #49991
r? @michaelwoerister
cc @eddyb
Guillaume Gomez [Thu, 26 Apr 2018 08:11:11 +0000 (10:11 +0200)]
Rollup merge of #50177 - matthiaskrgr:std_std_replacen__must_use, r=oli-obk
mark std::str::replace(,n) as #[must_use]
let x = "a b c c";
x.replacen("c", "d", 2");
might not do what people might think it does.
Anthony Ramine [Tue, 27 Mar 2018 14:44:03 +0000 (16:44 +0200)]
Use ScalarPair for tagged enums
Oliver Schneider [Thu, 19 Apr 2018 11:17:09 +0000 (13:17 +0200)]
Allow variant discriminant initializers to refer to other initializers of the same enum
bors [Thu, 26 Apr 2018 06:38:14 +0000 (06:38 +0000)]
Auto merge of #49732 - Zoxc:sync-dep-graph, r=michaelwoerister
Make incremental compilation thread-safe
r? @michaelwoerister
bors [Thu, 26 Apr 2018 03:36:22 +0000 (03:36 +0000)]
Auto merge of #50236 - nrc:update, r=alexcrichton
Update rustfmt and rls
r? @alexcrichton
Nick Cameron [Thu, 26 Apr 2018 03:10:11 +0000 (15:10 +1200)]
handle license check
bors [Wed, 25 Apr 2018 23:25:47 +0000 (23:25 +0000)]
Auto merge of #50131 - Manishearth:crate-in-local, r=petrochenkov
Allow crate:: in local paths
Currently if you want to use `crate` locally you have to do `::crate::`. This shouldn't be necessary
(will fix up tests later)
r? @petrochenkov
Nick Cameron [Wed, 25 Apr 2018 22:11:28 +0000 (10:11 +1200)]
Update rustfmt and rls
bors [Wed, 25 Apr 2018 20:58:53 +0000 (20:58 +0000)]
Auto merge of #50016 - tmandry:cleanup-binder, r=nikomatsakis
Make Binder's field private and clean up its usage
AKA "tour de rustc"
Closes #49814.
Manish Goregaokar [Sat, 21 Apr 2018 00:04:29 +0000 (17:04 -0700)]
Fix crate:: in local paths
bors [Wed, 25 Apr 2018 14:52:30 +0000 (14:52 +0000)]
Auto merge of #49321 - ishitatsuyuki:compile-pass, r=alexcrichton
Introduce compile-pass
r? @alexcrichton
The plan is to move things that cannot fail (no assert, unwrap, etc) out so we don't have to run them, and in the long term we can also stop running LLVM for them.
Out of 3215 tests...
```
Language Files Lines Code Comments Blanks
Rust 3215 119254 64688 35135 19431
```
16% of them has an empty main (which is already moved in this PR).
```
grep -rnPzl 'fn main\(\)\s*{\s*}' | xargs rg --files-without-match cfg | wc -l
547
```
And only 50% of the tests contains assertions:
```
rg -e assert -e unwrap -e expect -e panic -l | wc -l
1600
```
The remainder is likely able to get moved, but they need check by a human so I didn't touch them in PR.
cc @rust-lang/compiler
* [ ] Update documentation
Michael Woerister [Wed, 25 Apr 2018 13:57:33 +0000 (15:57 +0200)]
Bump bootstrap compiler to 2018-04-24
Ralf Biedert [Wed, 25 Apr 2018 12:14:43 +0000 (14:14 +0200)]
Added missing `.` in docs.
bors [Wed, 25 Apr 2018 11:40:18 +0000 (11:40 +0000)]
Auto merge of #50134 - andjo403:jobserver, r=michaelwoerister
make rustdoc test follow the jobserver limit of threads
fix that to many threads is executing at the same time
when rustdoc test is executed.
John Kåre Alsaker [Wed, 25 Apr 2018 09:55:12 +0000 (11:55 +0200)]
Move the Lock into OpenTask
John Kåre Alsaker [Wed, 25 Apr 2018 00:30:18 +0000 (02:30 +0200)]
Address comments
John Kåre Alsaker [Fri, 6 Apr 2018 12:52:36 +0000 (14:52 +0200)]
Make DepGraph thread-safe
bors [Wed, 25 Apr 2018 09:19:07 +0000 (09:19 +0000)]
Auto merge of #50110 - oli-obk:warn_all_the_constants, r=estebank
Warn on all erroneous constants
fixes #49791
fixes #47054
@Zoxc this PR triggers the nondeterministic errors of https://github.com/rust-lang/rust/pull/49950#issuecomment-
383074959 really often (at least on stage1).