Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions examples/allocator_api.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//! This examples requires nightly for the allocator API.
#![feature(allocator_api)]
#![no_std]
#![no_main]

Expand All @@ -11,7 +10,7 @@ use cortex_m_rt::entry;
use defmt_semihosting as _;
use embedded_alloc::LlffHeap as Heap;

// This is not used, but as of 2023-10-29 allocator_api cannot be used without
// This is not used, but as of 2026-09-27 `alloc` collections cannot be used without it, even when using only a local allocator.
// a global heap
#[global_allocator]
static HEAP: Heap = Heap::empty();
Expand Down
1 change: 0 additions & 1 deletion examples/llff_integration_test.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
//!
//! [Embedded Rust Book]: https://docs.rust-embedded.org/book/intro/index.html

#![feature(allocator_api)]
#![no_main]
#![no_std]

Expand Down
2 changes: 1 addition & 1 deletion examples/tlsf_integration_test.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
//!
//! [Embedded Rust Book]: https://docs.rust-embedded.org/book/intro/index.html

#![feature(allocator_api)]
#![feature(allocator_ext)]
#![no_main]
#![no_std]

Expand Down
1 change: 0 additions & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
#![doc = include_str!("../README.md")]
#![no_std]
#![cfg_attr(feature = "allocator_api", feature(allocator_api))]
#![warn(missing_docs)]

#[cfg(feature = "llff")]
Expand Down
Loading