Skip to content

Commit 7e2f596

Browse files
committed
fix(lexarg)!: Remove pamic_abort
1 parent 46e4c1d commit 7e2f596

2 files changed

Lines changed: 0 additions & 13 deletions

File tree

crates/libtest-lexarg/src/lib.rs

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,6 @@ pub struct TestOpts {
3737
/// May run a few more tests due to threading, but will
3838
/// abort as soon as possible.
3939
pub fail_fast: bool,
40-
pub options: Options,
4140
pub allowed_unstable: Vec<String>,
4241
}
4342

@@ -87,15 +86,6 @@ impl Default for OutputFormat {
8786
}
8887
}
8988

90-
/// Options for the test run defined by the caller (instead of CLI arguments) (see
91-
/// [`TestOpts::options`])
92-
///
93-
/// In case we want to add other options as well, just add them in this struct.
94-
#[derive(Copy, Clone, Debug, Default)]
95-
pub struct Options {
96-
pub panic_abort: bool,
97-
}
98-
9989
pub const UNSTABLE_OPTIONS: &str = "unstable-options";
10090

10191
pub const OPTIONS_HELP: &str = r#"

crates/libtest2-harness/src/harness.rs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -253,9 +253,6 @@ fn run(
253253
if opts.show_output {
254254
todo!("`--show-output` is not yet supported");
255255
}
256-
if opts.options.panic_abort {
257-
todo!("panic-abort is not yet supported");
258-
}
259256

260257
let threads = opts.test_threads.map(|t| t.get()).unwrap_or(1);
261258

0 commit comments

Comments
 (0)