Description
This is the continuation of rust-lang/compiler-builtins#334
When compiling a pure Rust crate with -Zbuild-std=core,alloc
, I get missing symbols errors for everything related to memcpying (memcpy
, memset
).
This is covered by the mem
feature of compiler_builtins
, which for a reason I don't understand isn't enabled by default.
Until mid-December can be solved by explicitly depending on compilter_builtins
with the mem
feature. However, one of the nightlies broke this and when doing so one now gets:
multiple rlib candidates for
compiler_builtins
found
I believe that the original cause is the features not enabled on compiler_builtins
.