Allow unwinding_dyn to be built as staticlib
This commit is contained in:
parent
5c96fa7042
commit
29d292637b
@ -5,7 +5,7 @@ authors = ["Gary Guo <gary@garyguo.net>"]
|
|||||||
edition = "2018"
|
edition = "2018"
|
||||||
|
|
||||||
[lib]
|
[lib]
|
||||||
crate-type = ["cdylib"]
|
crate-type = ["cdylib", "staticlib"]
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
unwinding = { path = "../", features = ["system-alloc", "personality-dummy", "panic-handler-dummy"] }
|
unwinding = { path = "../", features = ["system-alloc", "personality-dummy", "panic-handler-dummy"] }
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
#![no_std]
|
#![no_std]
|
||||||
#![feature(default_alloc_error_handler)]
|
|
||||||
#![warn(rust_2018_idioms)]
|
#![warn(rust_2018_idioms)]
|
||||||
#![warn(unsafe_op_in_unsafe_fn)]
|
#![warn(unsafe_op_in_unsafe_fn)]
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user