-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
Some symbol names somehow depend on the source directory location #7133
Comments
I think this is essentially #59542. The flags after This was fixed in 1.37 (now beta), but only when We can easily add the "ignore |
There's no particular reason I'm passing it via Anyways, I can confirm the following works:
|
Not a rustc bug, closing as a duplicate of #6914 |
Moving to cargo repo, and reopening since this isn't quite a duplicate. |
Also ignore remap-path-prefix in metadata for `cargo rustc`. Also ignore `--remap-path-prefix` in `cargo rustc`. Who knew that `BuildContext` had 3 sets of arguments? Closes #7133
I've tried many different things, optimizations on, off, debug-info, no debug-info, and that made no difference. Here are steps to reproduce that "works" every time for me (using --release reduces the number of symbols affected, since so many are eliminated in this case):
The reason I opened this saying "depend on the source directory location" is that if I do cleanup everything, and do a new build in the same location, the result is identical:
The text was updated successfully, but these errors were encountered: