diff --git a/cdylib/Cargo.toml b/cdylib/Cargo.toml index e79d1b9..ce3168f 100644 --- a/cdylib/Cargo.toml +++ b/cdylib/Cargo.toml @@ -5,7 +5,7 @@ authors = ["Gary Guo "] edition = "2018" [lib] -crate-type = ["cdylib"] +crate-type = ["cdylib", "staticlib"] [dependencies] unwinding = { path = "../", features = ["system-alloc", "personality-dummy", "panic-handler-dummy"] } diff --git a/cdylib/src/lib.rs b/cdylib/src/lib.rs index 71cdd2e..d9d98d4 100644 --- a/cdylib/src/lib.rs +++ b/cdylib/src/lib.rs @@ -1,5 +1,4 @@ #![no_std] -#![feature(default_alloc_error_handler)] #![warn(rust_2018_idioms)] #![warn(unsafe_op_in_unsafe_fn)]