Cargo.toml 843 B

12345678910111213141516171819202122232425262728293031
  1. [package]
  2. authors = ["Jorge Aparicio <japaricious@gmail.com>"]
  3. build = "build.rs"
  4. name = "compiler_builtins"
  5. version = "0.1.0"
  6. [build-dependencies]
  7. cast = { version = "0.2.1", features = ["x128"], optional = true }
  8. rand = { version = "0.3.15", optional = true }
  9. [build-dependencies.gcc]
  10. optional = true
  11. version = "0.3.36"
  12. [features]
  13. c = ["gcc"]
  14. compiler-builtins = []
  15. default = ["compiler-builtins"]
  16. mem = []
  17. rustbuild = ["compiler-builtins"]
  18. # generate tests
  19. gen-tests = ["cast", "rand"]
  20. [target.'cfg(all(target_arch = "arm", not(any(target_env = "gnu", target_env = "musl")), target_os = "linux"))'.dev-dependencies]
  21. test = { git = "https://github.com/japaric/utest" }
  22. utest-cortex-m-qemu = { default-features = false, git = "https://github.com/japaric/utest" }
  23. utest-macros = { git = "https://github.com/japaric/utest" }
  24. [workspace]