Skip to content

Commit b5af5d2

Browse files
committed
test: disable executable allocation test for OpenBSD
1 parent 669bac7 commit b5af5d2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/alloc.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -205,6 +205,7 @@ mod tests {
205205
}
206206

207207
#[test]
208+
#[cfg(not(target_os = "openbsd"))]
208209
fn alloc_can_allocate_executable_region() -> Result<()> {
209210
let memory = alloc(1, Protection::WRITE_EXECUTE)?;
210211
assert_eq!(memory.len(), page::size());

0 commit comments

Comments
 (0)