2
0

Cargo.toml 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. [package]
  2. name = "relibc"
  3. version = "0.2.5"
  4. authors = ["Jeremy Soller <[email protected]>"]
  5. edition = "2018"
  6. [lib]
  7. name = "relibc"
  8. crate-type = ["staticlib"]
  9. [workspace]
  10. members = ["src/crt0", "src/crti", "src/crtn", "src/ld_so", "src/platform/redox/redox-exec"]
  11. exclude = ["core_io", "ralloc", "tests"]
  12. [build-dependencies]
  13. cbindgen = "0.24.3"
  14. cc = "1.0.25"
  15. [dependencies]
  16. cbitset = "0.1.0"
  17. core_io = { path = "core_io", features = ["collections"] }
  18. lazy_static = { version = "1.4.0", default-features = false, features = ["spin_no_std"] }
  19. memoffset = "0.5.1"
  20. posix-regex = { path = "posix-regex", features = ["no_std"] }
  21. rand = { version = "0.5.5", default-features = false }
  22. memchr = { version = "2.2.0", default-features = false }
  23. plain = "0.2"
  24. unicode-width = "0.1"
  25. [dependencies.goblin]
  26. version = "0.0.21"
  27. default-features = false
  28. features = ["elf32", "elf64", "endian_fd"]
  29. [dependencies.ralloc]
  30. path = "ralloc"
  31. default-features = false
  32. optional = true
  33. [target.'cfg(target_os = "linux")'.dependencies]
  34. sc = "0.2.3"
  35. [target.'cfg(target_os = "dragonos")'.dependencies]
  36. # Development
  37. #dsc = { path = "本地存放dsc的代码的路径" }
  38. dsc = { git = "https://github.com/DragonOS-Community/dsc.git", rev = "0f61350" }
  39. [target.'cfg(target_os = "redox")'.dependencies]
  40. redox_syscall = "0.3"
  41. spin = "0.9.0"
  42. redox-exec = { path = "src/platform/redox/redox-exec" }
  43. [features]
  44. default = []
  45. trace = []
  46. [profile.dev]
  47. panic = "abort"
  48. [profile.release]
  49. panic = "abort"