Cargo.toml 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839
  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.2", 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. mangled-names = []
  19. # generate tests
  20. #
  21. # Note that this is an internal-only feature used in testing, this should not
  22. # be relied on with crates.io! Enabling this may expose you to breaking
  23. # changes.
  24. gen-tests = ["cast", "rand"]
  25. [target.'cfg(all(target_arch = "arm", not(any(target_env = "gnu", target_env = "musl")), target_os = "linux"))'.dev-dependencies]
  26. test = { git = "https://github.com/japaric/utest" }
  27. utest-cortex-m-qemu = { default-features = false, git = "https://github.com/japaric/utest" }
  28. utest-macros = { git = "https://github.com/japaric/utest" }
  29. [[example]]
  30. name = "intrinsics"
  31. required-features = ["c", "compiler-builtins"]
  32. [workspace]