cargo-playdate 0.2.3

Build tool for neat yellow console.
1
2
3
4
5
6
7
8
9
10
11
#![no_std]
#![no_main]
#[allow(unused_imports)]
extern crate alloc;
extern crate playdate_sys as sys;
extern crate {crate_name};
use {crate_name}::eventHandlerShim;

#[used]
/// TODO: describe that it's needed to tell rustc that it should be in the output after DCE, LTO and stripping.
pub static EVENT_HANDLER_SHIM: extern "C" fn(*const sys::ffi::PlaydateAPI, sys::ffi::PDSystemEvent, u32) -> i32 = eventHandlerShim;