Skip to main content

seq_core/
stack.rs

1//! Stack Operations
2//!
3//! Selects between two implementations based on the `tagged-ptr` feature flag:
4//! - Default: 40-byte StackValue with slot-based encoding
5//! - `tagged-ptr`: 8-byte tagged pointer with Box<Value> for heap types
6
7#[cfg(not(feature = "tagged-ptr"))]
8#[path = "stack_old.rs"]
9mod imp;
10
11#[cfg(feature = "tagged-ptr")]
12#[path = "stack_new.rs"]
13mod imp;
14
15pub use imp::*;