Remove usage of array_chunks

It has been removed in newer rustc versions
This commit is contained in:
bjorn3
2025-09-10 17:01:32 +02:00
parent a3700fa446
commit 35a0f2d440
2 changed files with 4 additions and 2 deletions
+3 -1
View File
@@ -193,7 +193,9 @@ pub fn get_interrupt(fdt: &Fdt, node: &FdtNode, idx: usize) -> Option<IrqCell> {
.unwrap();
let mut intr = interrupts
.value
.array_chunks::<4>()
.as_chunks::<4>()
.0
.iter()
.map(|f| BE::read_u32(f))
.skip(parent_interrupt_cells * idx);
match parent_interrupt_cells {
+1 -1
View File
@@ -45,11 +45,11 @@
#![feature(iter_next_chunk)]
#![feature(let_chains)]
#![feature(naked_functions)]
#![feature(slice_as_chunks)]
#![feature(sync_unsafe_cell)]
#![feature(variant_count)]
#![cfg_attr(not(test), no_std)]
#![cfg_attr(not(test), no_main)]
#![feature(array_chunks)]
#![feature(if_let_guard)]
#![feature(iterator_try_collect)]
#![feature(new_zeroed_alloc)]