33 lines
828 B
TOML
33 lines
828 B
TOML
[package]
|
|
name = "yggdrasil-rt"
|
|
version = "0.1.0"
|
|
edition = "2021"
|
|
authors = ["Mark Poliakov <mark@alnyan.me>"]
|
|
build = "build.rs"
|
|
|
|
[dependencies]
|
|
yggdrasil-abi = { path = "../abi" }
|
|
|
|
core = { version = "1.0.0", optional = true, package = "rustc-std-workspace-core" }
|
|
alloc = { version = "1.0.0", optional = true, package = "rustc-std-workspace-alloc" }
|
|
compiler_builtins = { version = "0.1", optional = true }
|
|
|
|
abi-lib = { path = "../abi-lib" }
|
|
|
|
[build-dependencies]
|
|
abi-generator = { path = "../../tool/abi-generator" }
|
|
yggdrasil-abi-def = { path = "../abi-def" }
|
|
prettyplease = "0.2.15"
|
|
cc = "*"
|
|
|
|
[features]
|
|
default = []
|
|
alloc = ["dep:alloc", "yggdrasil-abi/alloc"]
|
|
rustc-dep-of-std = [
|
|
"core",
|
|
"alloc",
|
|
"compiler_builtins/rustc-dep-of-std",
|
|
"yggdrasil-abi/rustc-dep-of-std",
|
|
"abi-lib/rustc-dep-of-std"
|
|
]
|