Cargo.toml 607 B

123456789101112131415161718192021222324252627
  1. [package]
  2. name = "unwind"
  3. version = "0.1.0"
  4. authors = ["Gary Guo <gary@garyguo.net>"]
  5. edition = "2018"
  6. [workspace]
  7. members = ["cdylib"]
  8. [dependencies]
  9. gimli = { version = "0.25.0", default-features = false, features = ["read"] }
  10. libc = { version = "0.2", optional = true }
  11. spin = { version = "0.9", default-features = false, features = ["mutex", "spin_mutex"] }
  12. [features]
  13. alloc = []
  14. fde-phdr = ["libc"]
  15. fde-registry = ["alloc"]
  16. default = ["fde-phdr"]
  17. [profile.dev]
  18. # Must be turned on due to Rust bug https://github.com/rust-lang/rust/issues/50007
  19. lto = true
  20. [profile.release]
  21. lto = true
  22. debug = true