The module should not be pub

This commit is contained in:
Henrik Tjäder 2020-11-15 17:40:14 +00:00
parent f957f05b66
commit ad7b5a90c4

View file

@ -57,7 +57,7 @@ pub fn app(app: &App, analysis: &Analysis, extra: &Extra) -> TokenStream2 {
let main = util::suffixed("main"); let main = util::suffixed("main");
mains.push(quote!( mains.push(quote!(
pub mod rtic_ext { mod rtic_ext {
use super::*; use super::*;
#[no_mangle] #[no_mangle]
unsafe extern "C" fn #main() -> ! { unsafe extern "C" fn #main() -> ! {