Skip to content

Commit f1aa14d

Browse files
authored
Merge pull request #2798 from rust-lang/rustc-pull
Rustc pull update
2 parents 5f32528 + 1ad2b3e commit f1aa14d

File tree

5 files changed

+9
-9
lines changed

5 files changed

+9
-9
lines changed

rust-version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
eda4fc7733ee89e484d7120cafbd80dcb2fce66e
1+
1e2183119f0ee19cc26df899e26b04ad0de3475d

src/parallel-rustc.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,6 @@ are implemented differently depending on whether `parallel-compiler` is true.
4848
| -------------------------------- | --------------------------------------------------- | ------------ |
4949
| Lock\<T> | (parking_lot::Mutex\<T>) | (std::cell::RefCell) |
5050
| RwLock\<T> | (parking_lot::RwLock\<T>) | (std::cell::RefCell) |
51-
| MTLock\<T> | (Lock\<T>) | (T) |
5251
| ReadGuard | parking_lot::RwLockReadGuard | std::cell::Ref |
5352
| MappedReadGuard | parking_lot::MappedRwLockReadGuard | std::cell::Ref |
5453
| WriteGuard | parking_lot::RwLockWriteGuard | std::cell::RefMut |

src/query.md

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -168,12 +168,6 @@ pub fn provide(providers: &mut rustc_middle::util::Providers) {
168168
}
169169
```
170170

171-
Note that `util::Providers` implements `DerefMut` to `query::Providers` so callers of the `provide` functions can pass in a `util::Providers` and it will just work for provider functions that accept `query::Providers` too
172-
173-
- This function takes a mutable reference to the `query::Providers` struct and sets the fields to point to the correct provider functions.
174-
- You can also assign queries individually, e.g. `providers.type_of = type_of;`.
175-
- You can assign fields individually for each provider type (local, external, and hooks).
176-
177171
#### Adding a new provider
178172

179173
Suppose you want to add a new query called `fubar`.

src/tests/ci.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,12 @@ The live results can be seen on [the GitHub Actions workflows page].
109109
At any given time, at most a single `auto` build is being executed.
110110
Find out more in [Merging PRs serially with bors](#merging-prs-serially-with-bors).
111111

112+
Normally, when an auto job fails, the whole CI workflow immediately ends. However, it can be useful to
113+
create auto jobs that are "non-blocking", or optional, to test them on CI for some time before blocking
114+
merges on them. This can be useful if those jobs can be flaky.
115+
116+
To do that, prefix such a job with `optional-`, and set `continue_on_error: true` for it in [`jobs.yml`].
117+
112118
[platform tiers]: https://forge.rust-lang.org/release/platform-support.html#rust-platform-support
113119
[auto]: https://github.com/rust-lang/rust/tree/automation/bors/auto
114120

src/tests/intro.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,8 @@ would require recompiling the entire standard library, and the entirety of
6262
package tests:
6363

6464
* `--doc` — Only runs documentation tests in the package.
65-
* `--no-doc` — Run all tests *except* documentation tests.
65+
* `--all-targets` — Run all tests *except* documentation tests.
66+
* `--tests` — Only runs unit and integration tests
6667

6768
[tidy-unit-tests]: https://github.com/rust-lang/rust/blob/HEAD/src/tools/tidy/src/unit_tests.rs
6869

0 commit comments

Comments
 (0)