Newer
Older
authors = ["Jeremy Soller <jackpot51@gmail.com>"]

Jeremy Soller
committed
name = "relibc"
members = [
"src/crt0",
"src/crti",
"src/crtn",
"src/ld_so",
"src/platform/redox/redox-exec",
"src/platform/redox/redox-path",
]
[build-dependencies]
cc = "1"
posix-regex = { path = "posix-regex", features = ["no_std"] }
# TODO: For some reason, rand_jitter hasn't been updated to use the latest rand_core
rand = { version = "0.7", default-features = false }
rand_xorshift = "0.2"
rand_jitter = "0.3"
__libc_only_for_layout_checks = { package = "libc", version = "0.2.149", optional = true }
default-features = false
features = ["elf32", "elf64", "endian_fd"]
[dependencies.dlmalloc]
path = "dlmalloc-rs"
default-features = false
features = ["c_api"]
[target.'cfg(target_os = "linux")'.dependencies]
sc = "0.2.3"
[target.'cfg(target_os = "redox")'.dependencies]
redox-exec = { path = "src/platform/redox/redox-exec" }
redox-path = { path = "src/platform/redox/redox-path" }
default = ["check_against_libc_crate"]
check_against_libc_crate = ["__libc_only_for_layout_checks"]
[profile.dev]
panic = "abort"
[profile.release]
panic = "abort"
[patch.crates-io]
redox_syscall = { git = "https://gitlab.redox-os.org/redox-os/syscall" }