compiler-builtins-zynq/Cargo.toml

75 lines
1.7 KiB
TOML
Raw Permalink Normal View History

2016-08-08 04:58:05 +08:00
[package]
authors = ["Jorge Aparicio <japaricious@gmail.com>"]
name = "compiler_builtins"
version = "0.1.35"
2018-11-22 03:09:24 +08:00
license = "MIT/Apache-2.0"
readme = "README.md"
2019-09-26 02:20:14 +08:00
repository = "https://github.com/rust-lang/compiler-builtins"
homepage = "https://github.com/rust-lang/compiler-builtins"
2018-11-22 03:09:24 +08:00
documentation = "https://docs.rs/compiler_builtins"
description = """
Compiler intrinsics used by the Rust compiler. Also available for other targets
if necessary!
"""
include = [
'/Cargo.toml',
'/build.rs',
'/src/*',
'/examples/*',
'/LICENSE.txt',
'/README.md',
'/compiler-rt/*',
'/libm/src/math/*',
]
links = 'compiler-rt'
2016-08-11 08:12:37 +08:00
[lib]
test = false
2017-04-11 03:38:17 +08:00
[dependencies]
# For more information on this dependency see rust-lang/rust's
# `src/tools/rustc-std-workspace` folder
core = { version = "1.0.0", optional = true, package = 'rustc-std-workspace-core' }
[build-dependencies]
cc = { version = "1.0" }
[dev-dependencies]
panic-handler = { path = 'crates/panic-handler' }
2016-08-15 10:59:48 +08:00
[features]
default = ["compiler-builtins"]
# Enable compilation of C code in compiler-rt, filling in some more optimized
# implementations and also filling in unimplemented intrinsics
2020-08-25 13:48:32 +08:00
c = []
# Flag this library as the unstable compiler-builtins lib
compiler-builtins = []
# Generate memory-related intrinsics like memcpy
mem = []
# Mangle all names so this can be linked in with other versions or other
# compiler-rt implementations. Also used for testing
mangled-names = []
# Don't generate lang items for i128 intrisnics and such
no-lang-items = []
2017-04-11 05:12:49 +08:00
# Only used in the compiler's build system
rustc-dep-of-std = ['compiler-builtins', 'core']
[[example]]
name = "intrinsics"
required-features = ["compiler-builtins"]
[workspace]
members = ["testcrate"]
[profile.release]
panic = 'abort'
[profile.dev]
panic = 'abort'