File tree Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -133,6 +133,15 @@ Under the hood, the test runner invokes the standard Rust test runner
133133filtering for tests that include "issue-1234" in the name. (Thus
134134` --test-args ` is a good way to run a collection of related tests.)
135135
136+ ## Passing arguments to ` rustc ` when running tests
137+
138+ It can sometimes be useful to run some tests with specific compiler arguments,
139+ without using ` RUSTFLAGS ` (during development of unstable features, with ` -Z `
140+ flags, for example).
141+
142+ This can be done with ` ./x test ` 's ` --rustc-args ` option, to pass additional
143+ arguments to the compiler when building the tests.
144+
136145## Editing and updating the reference files
137146
138147If you have changed the compiler's output intentionally, or you are
You can’t perform that action at this time.
0 commit comments