Cargo.toml 625 B

12345678910111213141516171819202122232425262728
  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. system-alloc = []
  17. default = ["fde-phdr"]
  18. [profile.dev]
  19. # Must be turned on due to Rust bug https://github.com/rust-lang/rust/issues/50007
  20. lto = true
  21. [profile.release]
  22. lto = true
  23. debug = true