Skip to content

Commit 072c62a

Browse files
committed
Workaround Rust build issue for i686 windows-gnu
1 parent c0098c5 commit 072c62a

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

psm/src/lib.rs

-2
Original file line numberDiff line numberDiff line change
@@ -281,7 +281,6 @@ pub enum StackDirection {
281281

282282
impl StackDirection {
283283
/// Obtain the stack growth direction.
284-
#[inline(always)]
285284
#[cfg(asm)]
286285
pub fn new() -> StackDirection {
287286
const ASC: u8 = StackDirection::Ascending as u8;
@@ -315,7 +314,6 @@ impl StackDirection {
315314
/// padding applied;
316315
/// 2. Callee allocates more stack than was accounted for with padding, and accesses pages outside
317316
/// the stack, invalidating the execution (by e.g. crashing).
318-
#[inline(always)]
319317
#[cfg(asm)]
320318
pub fn stack_pointer() -> *mut u8 {
321319
unsafe { rust_psm_stack_pointer() }

0 commit comments

Comments
 (0)