Skip to content

Commit

Permalink
Prepare for publication to crates.io
Browse files Browse the repository at this point in the history
This commit prepares to publish the compiler-builtins crate to crates.io
in order for the standard library to directly depend on it from
crates.io in rust-lang/rust#56092
  • Loading branch information
alexcrichton committed Nov 21, 2018
1 parent 939cbca commit 2e8f0b1
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,11 @@ version = "0.1.0"
[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" }

Expand All @@ -32,6 +37,9 @@ 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 = ['c', 'compiler-builtins', 'core']

[[example]]
name = "intrinsics"
required-features = ["c", "compiler-builtins"]
Expand Down

0 comments on commit 2e8f0b1

Please sign in to comment.