Skip to content

Commit a552b5b

Browse files
authored
Rollup merge of rust-lang#85287 - eggyal:expose-test-concurrent, r=m-ou-se
Expose `Concurrent` (private type in public i'face) rust-lang#53410 introduced experimental support for custom test frameworks. Such frameworks may wish to build upon `library/test` by calling into its publicly exposed API (which I entirely understand is wholly unstable). However, any that wish to call `test::run_test` cannot currently do so because `test::options::Concurrent` (the type of its `concurrent` parameter) is not publicly exposed.
2 parents 4217430 + 67e8f12 commit a552b5b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

library/test/src/lib.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ pub mod test {
4949
cli::{parse_opts, TestOpts},
5050
filter_tests,
5151
helpers::metrics::{Metric, MetricMap},
52-
options::{Options, RunIgnored, RunStrategy, ShouldPanic},
52+
options::{Concurrent, Options, RunIgnored, RunStrategy, ShouldPanic},
5353
run_test, test_main, test_main_static,
5454
test_result::{TestResult, TrFailed, TrFailedMsg, TrIgnored, TrOk},
5555
time::{TestExecTime, TestTimeOptions},

0 commit comments

Comments
 (0)