-
Notifications
You must be signed in to change notification settings - Fork 12.8k
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
Do not add external libraries to libstd stamp file #72698
Conversation
r? @kennytm (rust_highfive has picked a reviewer for you, use r? to override) |
Enabled try builders:
|
The job Click to expand the log.
I'm a bot! I can only do what humans tell me to, so if this was not helpful or you have suggestions for improvements, please ping or otherwise contact |
They are already copied before libstd is built. Copying them again when reading stamp file is unnecessary.
c5414eb
to
41ef99a
Compare
Wrong git stash... |
As far as I understand, the content of stamp file also controls what will be |
Unfortunately it's something I couldn't test on Windows because |
The job Click to expand the log.
I'm a bot! I can only do what humans tell me to, so if this was not helpful or you have suggestions for improvements, please ping or otherwise contact |
Made dist build on Linux and indeed objects are not copied if they are not present in stamp. |
Currently they are present in
.libstd.stamp
and point to target sysroot:while normal objects point to non sysroot locations:
Now
add_to_sysroot(...)
function reads stamp file and copies everything listed to the target or host sysroot. So in case of those objects we are effectively copying the inplace (fromtarget_sysroot/lib/X
totarget_sysroot/lib/X
).This PR also prepares ground for moving those objects to different location: #68887 (comment)