Skip to content
Snippets Groups Projects
Cargo.toml 1.15 KiB
Newer Older
[package]
name = "relibc"
version = "0.1.0"
authors = ["Jeremy Soller <jackpot51@gmail.com>"]

[lib]
crate-type = ["staticlib"]

[workspace]
jD91mZM2's avatar
jD91mZM2 committed
members = ["src/crt0", "src/crti", "src/crtn", "cbindgen"]
exclude = ["core_io", "ralloc"]
[build-dependencies]
cc = "1.0.25"
[dependencies]
jD91mZM2's avatar
jD91mZM2 committed
cbitset = "0.1.0"
Jeremy Soller's avatar
Jeremy Soller committed
core_io = { path = "core_io", features = ["collections"] }
lazy_static = { version = "1.2.0", features = ["nightly", "spin_no_std"] }
posix-regex = { path = "posix-regex", features = ["no_std"] }
rand = { version = "0.5.5", default-features = false }
va_list = { path = "va_list", features = ["no_std"] }
git = "https://github.com/rust-lang-nursery/compiler-builtins.git"
Jeremy Soller's avatar
Jeremy Soller committed
rev = "fe74674f6e4be76d47b66f67d529ebf4186f4eb1"
jD91mZM2's avatar
jD91mZM2 committed
features = ["no-lang-items", "mangled-names"]
[dependencies.ralloc]
path = "ralloc"
default-features = false
optional = true

[target.'cfg(target_os = "linux")'.dependencies]
sc = "0.2.2"

[target.'cfg(target_os = "redox")'.dependencies]
Jeremy Soller's avatar
Jeremy Soller committed
redox_syscall = "0.1"
spin = "0.4.10"
[features]
default = []
trace = []

[profile.dev]
panic = "abort"

[profile.release]
panic = "abort"