Module rustdoc_gui_test

Module rustdoc_gui_test 

Source
Expand description

This module isolates the compiletest APIs used by the rustdoc-gui-test tool.

Thanks to this isolation layer, changes to compiletest directive parsing might require changes to the items in this module, but shouldn’t require changes to rustdoc-gui-test itself.

The current relationship between compiletest and rustdoc-gui-test is awkward. Ideally, rustdoc-gui-test should either split off its own directive parser and become fully independent, or be incorporated into compiletest as another test mode.

See https://github.com/rust-lang/rust/issues/143827 for more context.

Structs§

RustdocGuiTestProps
Subset of compiletest directive values that are actually used by rustdoc-gui-test.

Functions§

incomplete_config_for_rustdoc_gui_test 🔒
Incomplete config intended for src/tools/rustdoc-gui-test only as src/tools/rustdoc-gui-test wants to reuse compiletest’s directive -> test property handling for //@ {compile,run}-flags, do not use for any other purpose.