|
| 1 | +[package] |
| 2 | +name = "compiler_builtins" |
| 3 | +version = "0.1.160" |
| 4 | +authors = [ "Jorge Aparicio <[email protected]>"] |
| 5 | +description = "Compiler intrinsics used by the Rust compiler." |
| 6 | +repository = "https://github.com/rust-lang/compiler-builtins" |
| 7 | +license = "MIT AND Apache-2.0 WITH LLVM-exception AND (MIT OR Apache-2.0)" |
| 8 | +edition = "2024" |
| 9 | +publish = false |
| 10 | +links = "compiler-rt" |
| 11 | + |
| 12 | +build = "../compiler-builtins/build.rs" |
| 13 | + |
| 14 | +[lib] |
| 15 | +path = "../compiler-builtins/src/lib.rs" |
| 16 | +bench = false |
| 17 | +doctest = false |
| 18 | +test = false |
| 19 | + |
| 20 | +[build-dependencies] |
| 21 | +cc = { optional = true, version = "1.2" } |
| 22 | + |
| 23 | +[features] |
| 24 | +default = ["compiler-builtins"] |
| 25 | + |
| 26 | +# Enable compilation of C code in compiler-rt, filling in some more optimized |
| 27 | +# implementations and also filling in unimplemented intrinsics |
| 28 | +c = ["dep:cc"] |
| 29 | + |
| 30 | +# Workaround for the Cranelift codegen backend. Disables any implementations |
| 31 | +# which use inline assembly and fall back to pure Rust versions (if available). |
| 32 | +no-asm = [] |
| 33 | + |
| 34 | +# Workaround for codegen backends which haven't yet implemented `f16` and |
| 35 | +# `f128` support. Disabled any intrinsics which use those types. |
| 36 | +no-f16-f128 = [] |
| 37 | + |
| 38 | +# Flag this library as the unstable compiler-builtins lib |
| 39 | +compiler-builtins = [] |
| 40 | + |
| 41 | +# Generate memory-related intrinsics like memcpy |
| 42 | +mem = [] |
| 43 | + |
| 44 | +# Mangle all names so this can be linked in with other versions or other |
| 45 | +# compiler-rt implementations. Also used for testing |
| 46 | +mangled-names = [] |
| 47 | + |
| 48 | +# Only used in the compiler's build system |
| 49 | +rustc-dep-of-std = ["compiler-builtins"] |
| 50 | + |
| 51 | +# This makes certain traits and function specializations public that |
| 52 | +# are not normally public but are required by the `builtins-test` |
| 53 | +unstable-public-internals = [] |
0 commit comments