Closed
Description
If I remove the functions add_u16
and add_substr
, which are never called, from middle::trans::shape
, I get:
/Users/tchevalier/rust/src/libstd/std.rc:28:0: 28:30 error: can't find crate for `core`
/Users/tchevalier/rust/src/libstd/std.rc:28 extern mod core(vers = "0.4");
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
when building stage1 libstd. @pcwalton says this is due to a problem with LLVM metadata getting truncated.
If so, we should isolate this to the piece of LLVM bytecode that exhibits the problem, and report it upstream.