Skip to content

Commit 22f8d8f

Browse files
committed
limit compilation of arch to x86_64
the current code only supports x86_64 (#1), and we want to fail hard on any other architecture for now.
1 parent 0fc8815 commit 22f8d8f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ mod std { pub use core::*; }
1919
pub mod context;
2020
pub mod stack;
2121

22+
#[cfg(target_arch = "x86_64")]
2223
mod arch;
2324

2425
#[cfg(feature = "os")]

0 commit comments

Comments
 (0)