Cargo.toml 706 B

123456789101112131415161718192021222324252627282930313233343536373839404142
  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 = ["debug_syscall"]
  15. debug_syscall = []
  16. [build-dependencies]
  17. bindgen = "0.70.1"
  18. [profile.dev]
  19. panic = "abort"
  20. [profile.dev.package.core]
  21. opt-level = 2
  22. debug = true
  23. [profile.dev.package."*"]
  24. opt-level = 2
  25. debug = false
  26. [profile.dev.build-override]
  27. opt-level = 0
  28. codegen-units = 256
  29. debug = false
  30. [profile.release.build-override]
  31. opt-level = 0
  32. codegen-units = 256
  33. debug = false