Cargo.toml 1.0 KB

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