Skip to content

Commit ddf8a81

Browse files
authored
Merge pull request #2740 from rust-lang/rustc-pull
Rustc pull update
2 parents 2299484 + dd8f743 commit ddf8a81

4 files changed

Lines changed: 13 additions & 11 deletions

File tree

rust-version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
5c49c4f7c8393c861b849441d27f5d40e0f1e33b
1+
873d4682c7d285540b8f28bfe637006cef8918a6

src/debuginfo/lldb-visualizers.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
> NOTE: LLDB's C++<->Python FFI expects a version of python designated at the time LLDB was
44
>compiled. LLDB is careful to correspond this version to the minimum in typical Linux and macOS
5-
>distributions, but on Windows there is no easy solution. If you recieve an import error regarding
5+
>distributions, but on Windows there is no easy solution. If you receive an import error regarding
66
>`_lldb` not existing, a mismatched Python version is likely the cause.
77
>
88
> LLDB is considering solutions this issue. For updates, see

src/tests/compiletest.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -667,7 +667,9 @@ to link to the extern crate to make the crate be available as an extern prelude.
667667
That allows you to specify the additional syntax of the `--extern` flag, such as
668668
renaming a dependency. For example, `//@ aux-crate:foo=bar.rs` will compile
669669
`auxiliary/bar.rs` and make it available under then name `foo` within the test.
670-
This is similar to how Cargo does dependency renaming.
670+
This is similar to how Cargo does dependency renaming. It is also possible to
671+
specify [`--extern` modifiers](https://github.com/rust-lang/rust/issues/98405).
672+
For example, `//@ aux-crate:noprelude:foo=bar.rs`.
671673

672674
`aux-bin` is similar to `aux-build` but will build a binary instead of a
673675
library. The binary will be available in `auxiliary/bin` relative to the working

src/tests/directives.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -53,14 +53,14 @@ Directives can generally be found by browsing the
5353

5454
See [Building auxiliary crates](compiletest.html#building-auxiliary-crates)
5555

56-
| Directive | Explanation | Supported test suites | Possible values |
57-
|-----------------------|-------------------------------------------------------------------------------------------------------|----------------------------------------|-----------------------------------------------|
58-
| `aux-bin` | Build a aux binary, made available in `auxiliary/bin` relative to test directory | All except `run-make`/`run-make-cargo` | Path to auxiliary `.rs` file |
59-
| `aux-build` | Build a separate crate from the named source file | All except `run-make`/`run-make-cargo` | Path to auxiliary `.rs` file |
60-
| `aux-crate` | Like `aux-build` but makes available as extern prelude | All except `run-make`/`run-make-cargo` | `<extern_prelude_name>=<path/to/aux/file.rs>` |
61-
| `aux-codegen-backend` | Similar to `aux-build` but pass the compiled dylib to `-Zcodegen-backend` when building the main file | `ui-fulldeps` | Path to codegen backend file |
62-
| `proc-macro` | Similar to `aux-build`, but for aux forces host and don't use `-Cprefer-dynamic`[^pm]. | All except `run-make`/`run-make-cargo` | Path to auxiliary proc-macro `.rs` file |
63-
| `build-aux-docs` | Build docs for auxiliaries as well. Note that this only works with `aux-build`, not `aux-crate`. | All except `run-make`/`run-make-cargo` | N/A |
56+
| Directive | Explanation | Supported test suites | Possible values |
57+
|-----------------------|-------------------------------------------------------------------------------------------------------|----------------------------------------|--------------------------------------------------------------------|
58+
| `aux-bin` | Build a aux binary, made available in `auxiliary/bin` relative to test directory | All except `run-make`/`run-make-cargo` | Path to auxiliary `.rs` file |
59+
| `aux-build` | Build a separate crate from the named source file | All except `run-make`/`run-make-cargo` | Path to auxiliary `.rs` file |
60+
| `aux-crate` | Like `aux-build` but makes available as extern prelude | All except `run-make`/`run-make-cargo` | `[<extern_modifiers>:]<extern_prelude_name>=<path/to/aux/file.rs>` |
61+
| `aux-codegen-backend` | Similar to `aux-build` but pass the compiled dylib to `-Zcodegen-backend` when building the main file | `ui-fulldeps` | Path to codegen backend file |
62+
| `proc-macro` | Similar to `aux-build`, but for aux forces host and don't use `-Cprefer-dynamic`[^pm]. | All except `run-make`/`run-make-cargo` | Path to auxiliary proc-macro `.rs` file |
63+
| `build-aux-docs` | Build docs for auxiliaries as well. Note that this only works with `aux-build`, not `aux-crate`. | All except `run-make`/`run-make-cargo` | N/A |
6464

6565
[^pm]: please see the [Auxiliary proc-macro section](compiletest.html#auxiliary-proc-macro) in the compiletest chapter for specifics.
6666

0 commit comments

Comments
 (0)