1
0
Fork 0

fix const in arr expression

This commit is contained in:
Simon Renblad 2024-10-22 12:07:15 +08:00
parent 49a84da2ce
commit 3bf56d0bac
3 changed files with 0 additions and 3 deletions

View File

@ -1,6 +1,5 @@
#![no_std]
#![no_main]
#![feature(const_in_array_repeat_expressions)]
#![feature(naked_functions)]
extern crate alloc;

View File

@ -1,6 +1,5 @@
#![no_std]
#![feature(never_type)]
#![feature(const_fn)]
extern crate alloc;

View File

@ -172,7 +172,6 @@ impl<'a, T> Iterator for Receiver<'a, T> where T: Clone {
#[macro_export]
/// Macro for initializing the sync_channel with static buffer and indexes.
/// Note that this requires `#![feature(const_in_array_repeat_expressions)]`
macro_rules! sync_channel {
($t: ty, $cap: expr) => {
{