// NOTE: This feature `no_unwind_protection` doesn't actually exist at the moment; since a binary crate built with #![no_std] will not be using a stable compiler toolchain. It was just for testing.
#[cfg(all(nightly, test))]externcratetest;
#[cfg(all(nightly, test))]externcratetest;
@ -111,7 +113,12 @@ use core::{
ptr,
ptr,
};
};
pubmodavec;pubuseavec::AVec;
#[cfg(not(feature = "no_std"))]
pubmodavec;
#[cfg(not(feature = "no_std"))]
pubuseavec::AVec;
modffi;
modffi;
/// Allocate a runtime length uninitialised byte buffer on the stack, call `callback` with this buffer, and then deallocate the buffer.
/// Allocate a runtime length uninitialised byte buffer on the stack, call `callback` with this buffer, and then deallocate the buffer.
@ -206,7 +213,14 @@ where F: FnOnce(&mut [MaybeUninit<u8>]) -> T