0c18a13cc0
It is UB to pass `entry` to core1 as `&mut`, because core0 keeps an aliasing pointer to that memory region, and actually writes to it (when `spawn_core1` returns, the stack frame gets deallocated and the memory gets reused). This violates noalias requirements. Added the fence just in case, een though it works without. |
||
---|---|---|
.. | ||
src | ||
build.rs | ||
Cargo.toml | ||
funcsel.txt | ||
link-rp.x.in |