54 lines
1.2 KiB
TOML
54 lines
1.2 KiB
TOML
[package]
|
|
name = "relibc"
|
|
version = "0.1.0"
|
|
authors = ["Jeremy Soller <jackpot51@gmail.com>"]
|
|
edition = "2018"
|
|
|
|
[lib]
|
|
name = "relibc"
|
|
crate-type = ["staticlib"]
|
|
|
|
[workspace]
|
|
members = ["src/crt0", "src/crti", "src/crtn", "src/ld_so"]
|
|
exclude = ["core_io", "ralloc"]
|
|
|
|
[build-dependencies]
|
|
cbindgen = "0.13.2"
|
|
cc = "1.0.25"
|
|
|
|
[dependencies]
|
|
cbitset = "0.1.0"
|
|
core_io = { path = "core_io", features = ["collections"] }
|
|
lazy_static = { version = "1.2.0", features = ["nightly", "spin_no_std"] }
|
|
memoffset = "0.5.1"
|
|
posix-regex = { path = "posix-regex", features = ["no_std"] }
|
|
rand = { version = "0.5.5", default-features = false }
|
|
memchr = { version = "2.2.0", default-features = false }
|
|
|
|
[dependencies.goblin]
|
|
version = "0.0.21"
|
|
default-features = false
|
|
features = ["elf32", "elf64", "endian_fd"]
|
|
|
|
[dependencies.ralloc]
|
|
path = "ralloc"
|
|
default-features = false
|
|
optional = true
|
|
|
|
[target.'cfg(target_os = "linux")'.dependencies]
|
|
sc = "0.2.3"
|
|
|
|
[target.'cfg(target_os = "redox")'.dependencies]
|
|
redox_syscall = { git = "https://gitlab.redox-os.org/redox-os/syscall", rev = "4115e0f43547449ce56f7d7749732813e9505955" }
|
|
spin = "0.4.10"
|
|
|
|
[features]
|
|
default = []
|
|
trace = []
|
|
|
|
[profile.dev]
|
|
panic = "abort"
|
|
|
|
[profile.release]
|
|
panic = "abort"
|