-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
feat: implement RFC 3127 -Ztrim-paths
#12625
Merged
Merged
Commits on Oct 29, 2023
-
Configuration menu - View commit details
-
Copy full SHA for decd020 - Browse repository at this point
Copy the full SHA decd020View commit details -
feat(trim-paths): add unstable feature gate
This implements RFC-3127[^1] on Cargo side. [^1]: https://rust-lang.github.io/rfcs/3127-trim-paths.html
Configuration menu - View commit details
-
Copy full SHA for 28b169b - Browse repository at this point
Copy the full SHA 28b169bView commit details
Commits on Oct 30, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 4d29af1 - Browse repository at this point
Copy the full SHA 4d29af1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 08c5e35 - Browse repository at this point
Copy the full SHA 08c5e35View commit details -
feat(rustc): parse and store
commit-hash
The rustc commit hash is required as we'll need it to remap sysroot path to `/rustc/<commit-hash>`, as rustc bootstrap does. See <https://github.com/rust-lang/rust/blob/c2ef3516/src/bootstrap/src/lib.rs#L1113-L1116>. This is optional as the compiler it may be built without a Git repository.
Configuration menu - View commit details
-
Copy full SHA for f4a1a03 - Browse repository at this point
Copy the full SHA f4a1a03View commit details -
feat(trim-paths): default value for release profile
trim-paths is shown as disabled as default in `Debug` impl. Although this doesn't reflect the correct default for `-Ztrim-pthas`, this is no critical as it is only for debugging, and it's a bit tricky to make it more correct.
Configuration menu - View commit details
-
Copy full SHA for fd893b2 - Browse repository at this point
Copy the full SHA fd893b2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 557fc4f - Browse repository at this point
Copy the full SHA 557fc4fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 63cef2c - Browse repository at this point
Copy the full SHA 63cef2cView commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.