Skip to content

Commit 3fdbd83

Browse files
committed
Less ambiguous field name
1 parent 824f232 commit 3fdbd83

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

tests/compiletest.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ fn run_tests(mode: Mode, path: &str, target: Option<String>) -> Result<()> {
6363
path_filter: path_filter.collect(),
6464
program: miri_path(),
6565
output_conflict_handling,
66-
manifest_path: use_std
66+
dependencies_crate_manifest_path: use_std
6767
.then(|| std::env::current_dir().unwrap().join("test_dependencies").join("Cargo.toml")),
6868
dependency_builder: Some(DependencyBuilder {
6969
program: PathBuf::from("bash"),

ui_test/src/dependencies.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ use crate::Config;
88

99
/// Compiles dependencies and returns the crate names and corresponding rmeta files.
1010
pub fn build_dependencies(config: &Config) -> Result<Vec<(String, PathBuf)>> {
11-
let manifest_path = match &config.manifest_path {
11+
let manifest_path = match &config.dependencies_crate_manifest_path {
1212
Some(path) => path,
1313
None => return Ok(vec![]),
1414
};

ui_test/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ pub struct Config {
4242
/// Only run tests with one of these strings in their path/name
4343
pub path_filter: Vec<String>,
4444
/// Path to a `Cargo.toml` that describes which dependencies the tests can access.
45-
pub manifest_path: Option<PathBuf>,
45+
pub dependencies_crate_manifest_path: Option<PathBuf>,
4646
/// Can be used to override what command to run instead of `cargo` to build the
4747
/// dependencies in `manifest_path`
4848
pub dependency_builder: Option<DependencyBuilder>,

ui_test/src/tests.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ fn config() -> Config {
1616
path_filter: vec![],
1717
program: PathBuf::from("cake"),
1818
output_conflict_handling: OutputConflictHandling::Error,
19-
manifest_path: None,
19+
dependencies_crate_manifest_path: None,
2020
dependency_builder: None,
2121
}
2222
}

0 commit comments

Comments
 (0)