only use #[no_core] in libcore
auto merge of #6075 : thestinger/rust/no-no_core, r=brson

core injection works fine now