File tree Expand file tree Collapse file tree 2 files changed +6
-1
lines changed
nextest-runner/src/config Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -1128,6 +1128,8 @@ impl App {
1128
1128
// https://github.com/rust-lang/miri/pull/2398#issuecomment-1190747685
1129
1129
if std:: env:: var_os ( "MIRI_SYSROOT" ) . is_some ( ) {
1130
1130
NextestConfig :: DEFAULT_MIRI_PROFILE
1131
+ } else if std:: env:: var_os ( "CARGO_LLVM_COV" ) . is_some ( ) {
1132
+ NextestConfig :: DEFAULT_LLVM_COV_PROFILE
1131
1133
} else {
1132
1134
NextestConfig :: DEFAULT_PROFILE
1133
1135
}
Original file line number Diff line number Diff line change @@ -73,9 +73,12 @@ impl NextestConfig {
73
73
/// The name of the default profile used for miri.
74
74
pub const DEFAULT_MIRI_PROFILE : & ' static str = "default-miri" ;
75
75
76
+ /// The name of the default profile used for cargo-llvm-cov
77
+ pub const DEFAULT_LLVM_COV_PROFILE : & ' static str = "default-llvm-cov" ;
78
+
76
79
/// A list containing the names of the Nextest defined reserved profile names.
77
80
pub const DEFAULT_PROFILES : & ' static [ & ' static str ] =
78
- & [ Self :: DEFAULT_PROFILE , Self :: DEFAULT_MIRI_PROFILE ] ;
81
+ & [ Self :: DEFAULT_PROFILE , Self :: DEFAULT_MIRI_PROFILE , Self :: DEFAULT_LLVM_COV_PROFILE ] ;
79
82
80
83
/// Reads the nextest config from the given file, or if not specified from `.config/nextest.toml`
81
84
/// in the workspace root.
You can’t perform that action at this time.
0 commit comments