feat(cargo): compile freestanding binary

Signed-off-by: Julien CLEMENT <julien.clement@epita.fr>
This commit is contained in:
juju committed 2021-11-27 18:41:04 +01:00
1 parent 66724cf0bf
commit 84a599e8f5
5 files changed
+40

No files matched your search

+14
View File
@@ -0,0 +1,14 @@
#![no_std]
#![no_main]
#[panic_handler]
fn panic(_info: &core::panic::PanicInfo) -> !
{
loop {}
}
#[no_mangle]
pub extern "C" fn _start() -> !
{
loop {}
}
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.