/// Output directory for the rust host dependencies.
pub host_deps_output: PathBuf,
- /// Library search path for compiler plugins and build scripts
- /// which have dynamic dependencies.
- pub plugins_dylib_path: PathBuf,
-
/// The path to rustc's own libstd
pub host_dylib_path: Option<PathBuf>,
root_output: PathBuf::from("/"),
deps_output: PathBuf::from("/"),
host_deps_output: PathBuf::from("/"),
- plugins_dylib_path: PathBuf::from("/"),
host_dylib_path: None,
target_dylib_path: None,
tests: Vec::new(),
-> CargoResult<ProcessBuilder> {
let mut search_path = if is_host {
- let mut search_path = vec![self.plugins_dylib_path.clone()];
+ let mut search_path = vec![self.host_deps_output.clone()];
search_path.extend(self.host_dylib_path.clone());
search_path
} else {
"".parse().unwrap()
}
"#);
- Package::new("dep_of_proc_macro_dep", "0.1.0").publish();
- workspace.build();
+ Package::new("dep_of_proc_macro_dep", "0.1.0").publish();
+ workspace.build();
assert_that(workspace.cargo("test").arg("--all").arg("--target").arg(rustc_host()),
execs().with_status(0));
}