-
Notifications
You must be signed in to change notification settings - Fork 13.3k
rustc --dep-info has started using absolute paths in the output #12174
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Adding |
I believe this was introduced in 6e7968b |
I believe the problem is that if you don't specify |
The relevant code is here: https://github.com/mozilla/rust/blob/master/src/librustc/driver/driver.rs#L1088-L1091 |
I'm doing a build right now that restores the old logic of let dirpath = match *odir {
Some(ref d) => d.clone(),
None => match *input {
StrInput(_) => os::getcwd(),
FileInput(ref ifile) => ifile.dir_path()
}
}; That said, I think I like |
That logic will restore the correct |
Ahh, I see. In that case, |
internal: Improve completion tests by checking that the offset is included in the source_range of items
When using
rustc --dep-info lib.d lib.rs
the resultinglib.d
file has started including absolute paths for the resulting library, instead of the expected relative paths.Previously:
Now:
The text was updated successfully, but these errors were encountered: