Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix incorrect path resolution in tidy
Previously, reading the current path from the environment led to failure when invoking x from outside the source root. This change fixes this issue by reading the second argument, which always equals to the source root (see https://github.com/rust-lang/rust/blob/a655e648a9f94d74263108366b83e677af56e35d/src/bootstrap/src/core/build_steps/test.rs#L1081). Signed-off-by: onur-ozkan <[email protected]>
- Loading branch information