From 5810565cf65359a0781629729b4700c4368f2e77 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Roman=20Fro=C5=82ow?= Date: Mon, 30 Dec 2019 12:13:33 +0100 Subject: [PATCH] use #[entry] instead of entry! >[breaking-change] the entry!, pre_init! and exception! macros have been replaced with attributes: #[entry], #[pre_init] and #[exception], respectively. https://github.com/rust-embedded/cortex-m-rt/blob/9a4a26039808ca2089ed82c802878acfbc22070c/CHANGELOG.md#v060---2018-09-06 --- src/getting-started/03.00.DEBUG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/getting-started/03.00.DEBUG.md b/src/getting-started/03.00.DEBUG.md index ec103b5..afc2ecd 100644 --- a/src/getting-started/03.00.DEBUG.md +++ b/src/getting-started/03.00.DEBUG.md @@ -6,7 +6,7 @@ Before we start, let's add some code to debug: ``` rust // -- snip -- -entry!(main); +#[entry] fn main() -> ! { let _y; let x = 42;