File tree Expand file tree Collapse file tree
src/doc/rustc-dev-guide/src/tests Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -655,7 +655,9 @@ to link to the extern crate to make the crate be available as an extern prelude.
655655That allows you to specify the additional syntax of the ` --extern ` flag, such as
656656renaming 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
661663library. The binary will be available in ` auxiliary/bin ` relative to the working
You can’t perform that action at this time.
0 commit comments