37 lines
1.1 KiB
TOML
37 lines
1.1 KiB
TOML
[package]
|
|
name = "stela-boot"
|
|
version = "0.1.0"
|
|
edition = "2024"
|
|
publish = false
|
|
|
|
[[bin]]
|
|
name = "stela"
|
|
path = "src/main.rs"
|
|
|
|
[workspace]
|
|
|
|
[dependencies]
|
|
uefi = { version = "0.41", default-features = false, features = ["alloc"] }
|
|
font8x8 = { version = "0.3", default-features = false }
|
|
stela-runtime = { path = "../stela-runtime", default-features = false }
|
|
stela-loader = { path = "../stela-loader", default-features = false }
|
|
stela-compiler = { path = "../stela-compiler", default-features = false }
|
|
serde_json = { version = "1", default-features = false, features = ["alloc"] }
|
|
# The soft-float UEFI target cannot codegen the optional hardware intrinsics in the local
|
|
# LLVM toolchain. Use the crate's real baseline SHA implementation.
|
|
sha2 = { version = "0.10", default-features = false, features = ["force-soft"] }
|
|
|
|
[profile.dev]
|
|
panic = "abort"
|
|
|
|
[profile.release]
|
|
panic = "abort"
|
|
codegen-units = 1
|
|
lto = "thin"
|
|
# Line tables go to the separate PDB, so profiles of a boot can name the
|
|
# engine's functions; the image itself is unchanged.
|
|
debug = "line-tables-only"
|
|
|
|
[lints.rust]
|
|
unsafe_op_in_unsafe_fn = "deny"
|