Closed
Description
Let's say you have a compiler for both 32-bit linux and 64-bit linux targets. You compile a library which links against the 32-bit libstd, but you then compile a 64-bit library which links against the 32-bit library you generated. This generates a mismatch between the 32-bit libstd and the 64-bit libstd metadata which you're looking at.
Right now rustc dies horribly about an unknown node ID, but it would be much more graceful if rustc inserted the target architecture into the metadata of the crate attributes and then matched against it as well.