Cargo.toml 957 B

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