diff options
| author | Emil Fresk <emil.fresk@gmail.com> | 2024-01-29 20:56:15 +0100 |
|---|---|---|
| committer | Emil Fresk <emil.fresk@gmail.com> | 2024-02-27 12:22:18 +0100 |
| commit | 27985009579e82673dcaf7a6a715fcf50c184863 (patch) | |
| tree | 8ae8f1cc9e8c6d2c2581467a4a537d8b84ae6552 /book/en/src/migration_v1_v2 | |
| parent | d2e84799c743eeb4b827d8da576be45ed43d6ece (diff) | |
Make RTIC 2 work on stable by using `main`'s stack as an allocator
Diffstat (limited to 'book/en/src/migration_v1_v2')
| -rw-r--r-- | book/en/src/migration_v1_v2/complete_example.md | 1 | ||||
| -rw-r--r-- | book/en/src/migration_v1_v2/nightly.md | 5 |
2 files changed, 0 insertions, 6 deletions
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. |
