From ad7b5a90c49da6078025d5ac46d1f48656836bfd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Henrik=20Tj=C3=A4der?= Date: Sun, 15 Nov 2020 17:40:14 +0000 Subject: [PATCH] The module should not be pub --- macros/src/codegen.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/macros/src/codegen.rs b/macros/src/codegen.rs index acd03d77c9..3cddf57018 100644 --- a/macros/src/codegen.rs +++ b/macros/src/codegen.rs @@ -57,7 +57,7 @@ pub fn app(app: &App, analysis: &Analysis, extra: &Extra) -> TokenStream2 { let main = util::suffixed("main"); mains.push(quote!( - pub mod rtic_ext { + mod rtic_ext { use super::*; #[no_mangle] unsafe extern "C" fn #main() -> ! {