aboutsummaryrefslogtreecommitdiff
path: root/ffi/real_mode
diff options
context:
space:
mode:
Diffstat (limited to 'ffi/real_mode')
-rw-r--r--ffi/real_mode/Cargo.toml2
-rw-r--r--ffi/real_mode/src/lib.rs11
2 files changed, 12 insertions, 1 deletions
diff --git a/ffi/real_mode/Cargo.toml b/ffi/real_mode/Cargo.toml
index f24f8a4..3451d59 100644
--- a/ffi/real_mode/Cargo.toml
+++ b/ffi/real_mode/Cargo.toml
@@ -6,7 +6,7 @@ edition = "2018"
[dependencies]
yaxpeax-x86 = { path = "../../", default-features = false }
-yaxpeax-arch = { version = "0.0.4", default-features = false }
+yaxpeax-arch = { version = "0.1.0", default-features = false }
[lib]
name = "yaxpeax_x86_ffi_real_mode"
diff --git a/ffi/real_mode/src/lib.rs b/ffi/real_mode/src/lib.rs
index e69de29..83c1be3 100644
--- a/ffi/real_mode/src/lib.rs
+++ b/ffi/real_mode/src/lib.rs
@@ -0,0 +1,11 @@
+#![no_std]
+
+#[panic_handler]
+fn panic(_info: &core::panic::PanicInfo) -> ! {
+ loop {}
+}
+
+#[path = "../../src/real_mode.rs"]
+mod real_mode;
+
+pub use real_mode::*;