Cargo.toml 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. [package]
  2. name = "relibc"
  3. version = "0.1.0"
  4. authors = ["Jeremy Soller <jackpot51@gmail.com>"]
  5. [lib]
  6. name = "c"
  7. crate-type = ["staticlib"]
  8. [workspace]
  9. members = ["src/crt0", "src/crti", "src/crtn", "cbindgen"]
  10. exclude = ["core_io", "ralloc"]
  11. [build-dependencies]
  12. cc = "1.0.17"
  13. [dependencies]
  14. cbitset = "0.1.0"
  15. core_io = { path = "core_io", features = ["collections"] }
  16. lazy_static = { version = "*", features = ["nightly", "spin_no_std"] }
  17. rand = { version = "0.5.2", default-features = false }
  18. va_list = { path = "va_list", features = ["no_std"] }
  19. [dependencies.compiler_builtins]
  20. git = "https://github.com/rust-lang-nursery/compiler-builtins.git"
  21. default-features = false
  22. features = ["no-lang-items", "mangled-names"]
  23. [dependencies.ralloc]
  24. path = "ralloc"
  25. default-features = false
  26. optional = true
  27. [target.'cfg(target_os = "linux")'.dependencies]
  28. sc = "0.2"
  29. [target.'cfg(target_os = "redox")'.dependencies]
  30. redox_syscall = { git = "https://gitlab.redox-os.org/redox-os/syscall.git", branch = "relibc" }
  31. spin = "0.4"
  32. [features]
  33. default = ["trace"]
  34. trace = []
  35. [profile.dev]
  36. panic = "abort"
  37. [profile.release]
  38. panic = "abort"