From 31652d7b8f021d92bdaac26e676dbe235e3a366a Mon Sep 17 00:00:00 2001 From: edef Date: Wed, 15 Apr 2015 19:56:10 -0400 Subject: [PATCH] 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. --- src/lib.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/lib.rs b/src/lib.rs index 1a26d3a..23e8e07 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -19,6 +19,7 @@ mod std { pub use core::*; } pub mod context; pub mod stack; +#[cfg(target_arch = "x86_64")] mod arch; #[cfg(feature = "os")]