2016-08-08 04:58:05 +08:00
|
|
|
[package]
|
|
|
|
authors = ["Jorge Aparicio <japaricious@gmail.com>"]
|
2016-09-22 10:14:38 +08:00
|
|
|
build = "build.rs"
|
2016-10-11 08:05:21 +08:00
|
|
|
name = "compiler_builtins"
|
2016-08-08 04:58:05 +08:00
|
|
|
version = "0.1.0"
|
2016-08-11 08:12:37 +08:00
|
|
|
|
2017-04-11 03:38:17 +08:00
|
|
|
[build-dependencies]
|
2017-05-08 06:05:00 +08:00
|
|
|
cast = { version = "0.2.2", features = ["x128"], optional = true }
|
2017-04-11 06:27:25 +08:00
|
|
|
rand = { version = "0.3.15", optional = true }
|
2017-04-11 03:38:17 +08:00
|
|
|
|
2017-02-20 04:49:59 +08:00
|
|
|
[build-dependencies.gcc]
|
|
|
|
optional = true
|
|
|
|
version = "0.3.36"
|
2016-09-27 04:55:11 +08:00
|
|
|
|
2016-08-15 10:59:48 +08:00
|
|
|
[features]
|
2017-02-20 04:49:59 +08:00
|
|
|
c = ["gcc"]
|
2016-12-12 05:18:43 +08:00
|
|
|
compiler-builtins = []
|
|
|
|
default = ["compiler-builtins"]
|
2016-12-18 12:01:47 +08:00
|
|
|
mem = []
|
2016-12-12 05:18:43 +08:00
|
|
|
rustbuild = ["compiler-builtins"]
|
2017-06-25 03:44:00 +08:00
|
|
|
mangled-names = []
|
2017-06-25 01:04:00 +08:00
|
|
|
|
2017-04-11 06:27:25 +08:00
|
|
|
# generate tests
|
2017-06-25 01:04:00 +08:00
|
|
|
#
|
|
|
|
# Note that this is an internal-only feature used in testing, this should not
|
|
|
|
# be relied on with crates.io! Enabling this may expose you to breaking
|
|
|
|
# changes.
|
2017-04-11 06:27:25 +08:00
|
|
|
gen-tests = ["cast", "rand"]
|
2016-09-17 04:53:14 +08:00
|
|
|
|
2017-04-11 06:27:25 +08:00
|
|
|
[target.'cfg(all(target_arch = "arm", not(any(target_env = "gnu", target_env = "musl")), target_os = "linux"))'.dev-dependencies]
|
|
|
|
test = { git = "https://github.com/japaric/utest" }
|
|
|
|
utest-cortex-m-qemu = { default-features = false, git = "https://github.com/japaric/utest" }
|
|
|
|
utest-macros = { git = "https://github.com/japaric/utest" }
|
2017-04-11 05:12:49 +08:00
|
|
|
|
2017-06-23 05:00:31 +08:00
|
|
|
[[example]]
|
|
|
|
name = "intrinsics"
|
2017-06-23 21:58:05 +08:00
|
|
|
required-features = ["c", "compiler-builtins"]
|
2017-06-23 05:00:31 +08:00
|
|
|
|
2016-09-17 04:53:14 +08:00
|
|
|
[workspace]
|