2016-08-08 04:58:05 +08:00
|
|
|
[package]
|
|
|
|
authors = ["Jorge Aparicio <japaricious@gmail.com>"]
|
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
|
|
|
|
2018-02-01 02:04:01 +08:00
|
|
|
[lib]
|
|
|
|
test = false
|
2017-04-11 03:38:17 +08:00
|
|
|
|
2018-02-01 02:04:01 +08:00
|
|
|
[build-dependencies]
|
|
|
|
cc = { optional = true, version = "1.0" }
|
2016-09-27 04:55:11 +08:00
|
|
|
|
2016-08-15 10:59:48 +08:00
|
|
|
[features]
|
2018-02-01 02:04:01 +08:00
|
|
|
default = ["compiler-builtins"]
|
|
|
|
|
|
|
|
# Enable compilation of C code in compiler-rt, filling in some more optimized
|
|
|
|
# implementations and also filling in unimplemented intrinsics
|
2017-09-23 12:30:12 +08:00
|
|
|
c = ["cc"]
|
2018-02-01 02:04:01 +08:00
|
|
|
|
|
|
|
# Flag this library as the unstable compiler-builtins lib
|
2016-12-12 05:18:43 +08:00
|
|
|
compiler-builtins = []
|
2018-02-01 02:04:01 +08:00
|
|
|
|
|
|
|
# Generate memory-related intrinsics like memcpy
|
2016-12-18 12:01:47 +08:00
|
|
|
mem = []
|
2017-06-25 01:04:00 +08:00
|
|
|
|
2018-02-01 02:04:01 +08:00
|
|
|
# Mangle all names so this can be linked in with other versions or other
|
|
|
|
# compiler-rt implementations. Also used for testing
|
|
|
|
mangled-names = []
|
2016-09-17 04:53:14 +08:00
|
|
|
|
2018-02-01 02:04:01 +08:00
|
|
|
# Don't generate lang items for i128 intrisnics and such
|
|
|
|
no-lang-items = []
|
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]
|
2018-02-01 02:04:01 +08:00
|
|
|
members = ["testcrate"]
|