Skip to content

Commit

Permalink
Temporarily use define_rust_probestack;
Browse files Browse the repository at this point in the history
  • Loading branch information
beetrees committed Jul 1, 2024
1 parent 7bc3d6e commit 254edbc
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/probestack.rs
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,10 @@ macro_rules! define_rust_probestack {
};
}

// FIXME(rust-lang/rust#126984): Remove allow once lint is fixed
#[cfg(any(target_arch = "x86", target_arch = "x86_64"))]
use define_rust_probestack;

// Our goal here is to touch each page between %rsp+8 and %rsp+8-%rax,
// ensuring that if any pages are unmapped we'll make a page fault.
//
Expand Down

0 comments on commit 254edbc

Please sign in to comment.