We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ad5eb38 commit 35577d1Copy full SHA for 35577d1
src/tools/compiletest/src/header.rs
@@ -176,6 +176,9 @@ impl Config {
176
}
177
178
179
+ /// This function finds the root source of the repository by starting at the source base for
180
+ /// compiletest. It will then visit its parent folder and check if we found the root by
181
+ /// checking if it can find the compiletest `Cargo.toml` file in the path relative to the root.
182
pub fn find_rust_src_root(&self) -> Option<PathBuf> {
183
let mut path = self.src_base.clone();
184
let path_postfix = Path::new("src/tools/compiletest/Cargo.toml");
0 commit comments