Cargo.toml 758 B

123456789101112131415161718192021222324252627282930313233
  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. dwarf-expr = []
  17. hide-trace = []
  18. personality = []
  19. personality-dummy = []
  20. print = ["libc"]
  21. system-alloc = []
  22. default = ["dwarf-expr", "hide-trace", "fde-phdr", "fde-registry"]
  23. [profile.dev]
  24. # Must be turned on due to Rust bug https://github.com/rust-lang/rust/issues/50007
  25. lto = true
  26. [profile.release]
  27. lto = true
  28. debug = true