Skip to content

Commit 5028acf

Browse files
committed
wip 2026-01-19T20:30:06+01:00
1 parent 31f8336 commit 5028acf

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

src/doc/rustc-dev-guide/src/tests/compiletest.md

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

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

0 commit comments

Comments
 (0)