Cargo.toml 940 B

12345678910111213141516171819202122232425262728293031323334353637383940
  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. [dev-dependencies]
  10. panic-handler = { path = 'crates/panic-handler' }
  11. [features]
  12. default = ["compiler-builtins"]
  13. # Enable compilation of C code in compiler-rt, filling in some more optimized
  14. # implementations and also filling in unimplemented intrinsics
  15. c = ["cc"]
  16. # Flag this library as the unstable compiler-builtins lib
  17. compiler-builtins = []
  18. # Generate memory-related intrinsics like memcpy
  19. mem = []
  20. # Mangle all names so this can be linked in with other versions or other
  21. # compiler-rt implementations. Also used for testing
  22. mangled-names = []
  23. # Don't generate lang items for i128 intrisnics and such
  24. no-lang-items = []
  25. [[example]]
  26. name = "intrinsics"
  27. required-features = ["c", "compiler-builtins"]
  28. [workspace]
  29. members = ["testcrate"]