Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.
Sign upFind the library hash used by a toolchain #302
Comments
This comment has been minimized.
This comment has been minimized.
m4b
commented
Apr 13, 2016
|
For reference, I'm working on a Makefile for hopefully doing the linking in a more extensible manner, and I currently grab the hash with a huge hack, e.g.:
(also, and if anyone else looks at the Makefile, what I'm doing should not be understood at all as a typical Rust build process) There's so many places the above can break tho, e.g., if multirust is installed somewhere different, if the rustlib nightly dir changes (although you mentioned should be stablized soon), etc. I agree not sure if it's rustup's job, or what all that would look like, but yea, hopefully a good solution arises somewhere :) |
Diggsey
added this to Features (inclination: accept)
in Issue Categorisation
May 4, 2017
Diggsey
added
the
enhancement
label
May 5, 2017
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
brson commentedApr 12, 2016
For custom linking purposes, sometimes people need to know the hash used in std's filename. It was suggested that
show hashcould be used for this.It's a real use case, but I'm not sure yet that it's rustup's job, or if it is that it shouldn't be folded into some other version-displaying function.