Cargo.toml 870 B

12345678910111213141516171819202122232425262728293031323334353637
  1. [package]
  2. authors = ["Jorge Aparicio <japaricious@gmail.com>"]
  3. name = "compiler_builtins"
  4. version = "0.1.0"
  5. [lib]
  6. test = false
  7. [build-dependencies]
  8. cc = { optional = true, version = "1.0" }
  9. [features]
  10. default = ["compiler-builtins"]
  11. # Enable compilation of C code in compiler-rt, filling in some more optimized
  12. # implementations and also filling in unimplemented intrinsics
  13. c = ["cc"]
  14. # Flag this library as the unstable compiler-builtins lib
  15. compiler-builtins = []
  16. # Generate memory-related intrinsics like memcpy
  17. mem = []
  18. # Mangle all names so this can be linked in with other versions or other
  19. # compiler-rt implementations. Also used for testing
  20. mangled-names = []
  21. # Don't generate lang items for i128 intrisnics and such
  22. no-lang-items = []
  23. [[example]]
  24. name = "intrinsics"
  25. required-features = ["c", "compiler-builtins"]
  26. [workspace]
  27. members = ["testcrate"]