We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c0098c5 commit 072c62aCopy full SHA for 072c62a
psm/src/lib.rs
@@ -281,7 +281,6 @@ pub enum StackDirection {
281
282
impl StackDirection {
283
/// Obtain the stack growth direction.
284
- #[inline(always)]
285
#[cfg(asm)]
286
pub fn new() -> StackDirection {
287
const ASC: u8 = StackDirection::Ascending as u8;
@@ -315,7 +314,6 @@ impl StackDirection {
315
314
/// padding applied;
316
/// 2. Callee allocates more stack than was accounted for with padding, and accesses pages outside
317
/// the stack, invalidating the execution (by e.g. crashing).
318
-#[inline(always)]
319
320
pub fn stack_pointer() -> *mut u8 {
321
unsafe { rust_psm_stack_pointer() }
0 commit comments