aboutsummaryrefslogtreecommitdiff
path: root/cortex-m-rt
diff options
context:
space:
mode:
Diffstat (limited to 'cortex-m-rt')
-rw-r--r--cortex-m-rt/src/lib.rs5
1 files changed, 2 insertions, 3 deletions
diff --git a/cortex-m-rt/src/lib.rs b/cortex-m-rt/src/lib.rs
index 13f41f4..ba50572 100644
--- a/cortex-m-rt/src/lib.rs
+++ b/cortex-m-rt/src/lib.rs
@@ -901,12 +901,11 @@ pub unsafe extern "C" fn Reset() -> ! {
static mut __edata: u32;
static __sidata: u32;
- }
-
- extern "Rust" {
// This symbol will be provided by the user via `#[entry]`
fn main() -> !;
+ }
+ extern "Rust" {
// This symbol will be provided by the user via `#[pre_init]`
fn __pre_init();
}