We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 30e2cf5 commit a80854bCopy full SHA for a80854b
crates/vm/src/datastack.rs
@@ -6,7 +6,8 @@
6
///
7
/// Normal function calls allocate from the data stack via `push()` (pointer
8
/// bump). Generators and coroutines use heap-allocated storage instead.
9
-use alloc::alloc::{Layout, alloc, dealloc};
+use alloc::alloc::{alloc, dealloc};
10
+use core::alloc::Layout;
11
use core::ptr;
12
13
/// Minimum chunk size in bytes (16 KB, matching CPython `_PY_DATA_STACK_CHUNK_SIZE`).
0 commit comments