Cargo.toml 1.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  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. [build-dependencies]
  11. cc = "1.0.17"
  12. [dependencies]
  13. cbitset = "0.1.0"
  14. lazy_static = { version = "*", features = ["nightly", "spin_no_std"] }
  15. rand = { version = "0.5.2", default-features = false }
  16. va_list = { path = "va_list", features = ["no_std"] }
  17. [dependencies.compiler_builtins]
  18. git = "https://github.com/rust-lang-nursery/compiler-builtins.git"
  19. default-features = false
  20. features = ["no-lang-items", "mangled-names"]
  21. [dependencies.ralloc]
  22. path = "ralloc"
  23. default-features = false
  24. optional = true
  25. [target.'cfg(target_os = "linux")'.dependencies]
  26. sc = "0.2"
  27. [target.'cfg(target_os = "redox")'.dependencies]
  28. redox_syscall = { git = "https://gitlab.redox-os.org/redox-os/syscall.git", branch = "relibc" }
  29. spin = "0.4"
  30. [features]
  31. default = ["trace"]
  32. trace = []
  33. [profile.dev]
  34. panic = "abort"
  35. [profile.release]
  36. panic = "abort"