Skip to content

Commit

Permalink
Add compatibility for compiling as part of std
Browse files Browse the repository at this point in the history
  • Loading branch information
alexcrichton committed May 15, 2019
1 parent 64599c3 commit 3e31141
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,10 @@ item that gets emitted.

[badges]
travis-ci = { repository = "alexcrichton/cfg-if" }

[dependencies]
core = { version = "1.0.0", optional = true, package = 'rustc-std-workspace-core' }
compiler_builtins = { versionrsion = '0.1.2', optional = true }

[features]
rustc-dep-of-std = ['core', 'compiler_builtins']

0 comments on commit 3e31141

Please sign in to comment.