From 63c9364e53a52b0d9e98db2ec2258b227687deb8 Mon Sep 17 00:00:00 2001 From: Rafael Bachmann Date: Sun, 12 May 2024 01:53:20 +0200 Subject: [PATCH] Re-export qingke-rt::entry Without this, I believe it is not possible for users to use qingke-rt themselves, because the qingke-rt crate defines global symbols which the linker does not like. --- src/lib.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/lib.rs b/src/lib.rs index 8b81614..83a7fa7 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -3,6 +3,7 @@ #![feature(naked_functions)] pub use ch32_metapac as pac; +pub use qingke_rt::entry; // This must go FIRST so that all the other modules see its macros. include!(concat!(env!("OUT_DIR"), "/_macros.rs"));