Cargo.toml 703 B

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. [package]
  2. name = "gbos-rust-part"
  3. version = "0.1.0"
  4. edition = "2021"
  5. [lib]
  6. crate-type = ["staticlib"]
  7. [dependencies]
  8. arch = { path="./arch" }
  9. bitflags = "2.6.0"
  10. itertools = { version = "0.13.0", default-features = false }
  11. lazy_static = { version = "1.5.0", features = ["spin_no_std"] }
  12. spin = "0.9.8"
  13. [features]
  14. default = ["smp"]
  15. debug_syscall = []
  16. smp = []
  17. [build-dependencies]
  18. bindgen = "0.70.1"
  19. [profile.dev]
  20. panic = "abort"
  21. [profile.dev.package.core]
  22. opt-level = 2
  23. debug = true
  24. [profile.dev.package."*"]
  25. opt-level = 2
  26. debug = false
  27. [profile.dev.build-override]
  28. opt-level = 0
  29. codegen-units = 256
  30. debug = false
  31. [profile.release.build-override]
  32. opt-level = 0
  33. codegen-units = 256
  34. debug = false