Skip to content
Permalink
eff506cd49
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time
78 lines (62 sloc) 1.93 KB
[package]
authors = ["Jorge Aparicio <japaricious@gmail.com>"]
name = "compiler_builtins"
version = "0.1.36"
license = "MIT/Apache-2.0"
readme = "README.md"
repository = "https://github.com/rust-lang/compiler-builtins"
homepage = "https://github.com/rust-lang/compiler-builtins"
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'
[lib]
test = false
[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 = { optional = true, version = "1.0" }
[dev-dependencies]
panic-handler = { path = 'crates/panic-handler' }
[features]
default = ["compiler-builtins"]
# Some algorithms benefit from inline assembly, but some compiler backends do
# not support it, so inline assembly is only enabled when this flag is set.
asm = []
# Enable compilation of C code in compiler-rt, filling in some more optimized
# implementations and also filling in unimplemented intrinsics
c = ["cc"]
# 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 = []
# 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'