Perfecting Rust Packaging

Noted.

Huh. I'm sad to say I've looked at this patch for a while and still don't see what the bug is. Can you explain in more detail what the patch is working around? Is there a filed issue? (I know that --libdir has always been in some state of broken)

This is a common theme!

cc @alexcrichton

Ah, interesting point. I've opened an issue: Option to control -Werror in makefiles · Issue #28599 · rust-lang/rust · GitHub

Ah, yes, that makes sense. Although we (try to) tie that extra bit to the version number. Perhaps we're just not capturing enough metadata to differentiate the versions of Rust you are installing together?

In fact, the code looks wrong. It's hashing an undefined variable...

Would hashing the version number as intended be enough to distinguish your sxs installs?

Edit: After investigation, this does actually hash the version number correctly before CFG_RELEASE is defined. I don't understand why offhand.