From 6526651bb2f55adcae82ca12353e2c403fd942d1 Mon Sep 17 00:00:00 2001 From: Gwilym Kuiper Date: Sat, 7 Aug 2021 18:27:10 +0100 Subject: [PATCH] Template should use agb::entry rather than no_mangle --- template/src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/template/src/main.rs b/template/src/main.rs index 4b99a11d..2e8b4d80 100644 --- a/template/src/main.rs +++ b/template/src/main.rs @@ -4,7 +4,7 @@ extern crate agb; use agb::{display, syscall}; -#[no_mangle] +#[agb::entry] pub fn main() -> ! { let mut gba = agb::Gba::new(); let mut bitmap = gba.display.video.bitmap3();