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
133
133
filtering for tests that include "issue-1234" in the name. (Thus
134
134
` --test-args ` is a good way to run a collection of related tests.)
135
135
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
+
136
145
## Editing and updating the reference files
137
146
138
147
If you have changed the compiler's output intentionally, or you are
You can’t perform that action at this time.
0 commit comments