We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents e89fc18 + 0925ff8 commit 7f3cf08Copy full SHA for 7f3cf08
src/bootstrap/src/core/config/tests.rs
@@ -11,9 +11,15 @@ use std::{
11
};
12
13
fn parse(config: &str) -> Config {
14
- Config::parse_inner(&["check".to_owned(), "--config=/does/not/exist".to_owned()], |&_| {
15
- toml::from_str(config).unwrap()
16
- })
+ let config = format!("{config} \r\n build.rustc = \"/does-not-exists\" ");
+ Config::parse_inner(
+ &[
17
+ "check".to_owned(),
18
+ "--config=/does/not/exist".to_owned(),
19
+ "--skip-stage0-validation".to_owned(),
20
+ ],
21
+ |&_| toml::from_str(&config).unwrap(),
22
+ )
23
}
24
25
#[test]
0 commit comments