From 27985009579e82673dcaf7a6a715fcf50c184863 Mon Sep 17 00:00:00 2001 From: Emil Fresk Date: Mon, 29 Jan 2024 20:56:15 +0100 Subject: Make RTIC 2 work on stable by using `main`'s stack as an allocator --- book/en/src/migration_v1_v2/complete_example.md | 1 - book/en/src/migration_v1_v2/nightly.md | 5 ----- 2 files changed, 6 deletions(-) delete mode 100644 book/en/src/migration_v1_v2/nightly.md (limited to 'book/en/src/migration_v1_v2') diff --git a/book/en/src/migration_v1_v2/complete_example.md b/book/en/src/migration_v1_v2/complete_example.md index e76fa4d..47ac2de 100644 --- a/book/en/src/migration_v1_v2/complete_example.md +++ b/book/en/src/migration_v1_v2/complete_example.md @@ -97,7 +97,6 @@ _Note_: This diff may not be 100% accurate, but it displays the important change ``` diff #![no_main] #![no_std] -+#![feature(type_alias_impl_trait)] use panic_rtt_target as _; use rtic::app; diff --git a/book/en/src/migration_v1_v2/nightly.md b/book/en/src/migration_v1_v2/nightly.md deleted file mode 100644 index 768d1b8..0000000 --- a/book/en/src/migration_v1_v2/nightly.md +++ /dev/null @@ -1,5 +0,0 @@ -# RTIC now requires Rust Nightly - -The new `async` features require that you use a nightly compiler, and that the feature `type_alias_impl_trait` is enabled for your applications. - -To enable this feature, you must add the line `#![feature(type_alias_impl_trait)]` to the root file of your project, on the lines below or above where `#![no_std]` and `#![no_main]` are defined. -- cgit v1.2.3