See https://github.com/antonblanchard/microwatt/pull/125 I have to define my own memset/memcpy/memmove in the calling C-program: https://github.com/tomtor/microwatt/blob/37bc1f31c2139ec06a56e51ed595e0bc664fdbc8/rust_lib_demo/hello_world.c#L172 This looks related to https://github.com/rust-lang/rust/issues/56814