From bb2870e56d6c9a0a7b96be8287193a753e3a4391 Mon Sep 17 00:00:00 2001 From: iximeow Date: Sun, 4 Jul 2021 15:21:01 -0700 Subject: add ffi wrappers for real mode, protected mode, and a multiarch build --- ffi/multiarch/Cargo.toml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'ffi/multiarch/Cargo.toml') diff --git a/ffi/multiarch/Cargo.toml b/ffi/multiarch/Cargo.toml index 370d39c..1632996 100644 --- a/ffi/multiarch/Cargo.toml +++ b/ffi/multiarch/Cargo.toml @@ -11,4 +11,9 @@ yaxpeax-arch = { version = "0.1.0", default-features = false } [lib] name = "yaxpeax_x86_ffi_multiarch" path = "src/lib.rs" -crate-type = ["staticlib"] +crate-type = ["staticlib", "cdylib"] + +[features] +default = ["fmt"] + +fmt = ["yaxpeax-x86/fmt"] -- cgit v1.1