Refactor unwind; add FDE support. (#1320)
* Refactor unwind * add FDE support * use sink directly in emit functions * pref off all unwinding generation with feature
This commit is contained in:
@@ -20,6 +20,7 @@ hashbrown = { version = "0.6", optional = true }
|
||||
target-lexicon = "0.10"
|
||||
log = { version = "0.4.6", default-features = false }
|
||||
serde = { version = "1.0.94", features = ["derive"], optional = true }
|
||||
gimli = { version = "0.19.0", default-features = false, features = ["write"], optional = true }
|
||||
smallvec = { version = "1.0.0" }
|
||||
thiserror = "1.0.4"
|
||||
byteorder = { version = "1.3.2", default-features = false }
|
||||
@@ -32,7 +33,7 @@ byteorder = { version = "1.3.2", default-features = false }
|
||||
cranelift-codegen-meta = { path = "meta", version = "0.54.0" }
|
||||
|
||||
[features]
|
||||
default = ["std", "basic-blocks"]
|
||||
default = ["std", "basic-blocks", "unwind"]
|
||||
|
||||
# The "std" feature enables use of libstd. The "core" feature enables use
|
||||
# of some minimal std-like replacement libraries. At least one of these two
|
||||
@@ -47,6 +48,9 @@ core = ["hashbrown"]
|
||||
# can significantly increase the size of the library.
|
||||
testing_hooks = []
|
||||
|
||||
# This enables unwind info generation functionality.
|
||||
unwind = ["gimli"]
|
||||
|
||||
# ISA targets for which we should build.
|
||||
# If no ISA targets are explicitly enabled, the ISA target for the host machine is enabled.
|
||||
x86 = []
|
||||
|
||||
Reference in New Issue
Block a user