Skip to content

Commit

Permalink
Update support for being built in rust-lang/rust
Browse files Browse the repository at this point in the history
This commit updates the support necessary for this crate to be built as
a dependency of `getopts` which is a dependency of the `test` crate
which is built in rust-lang/rust. This change will be required to land
rust-lang/rust#63637 where Rust's build system is being tweaked
slightly. This is intended to not have any impact on other users of this
crate and the `Cargo.toml` features here should only be used by Rust's
own build system.
  • Loading branch information
alexcrichton committed Aug 19, 2019
1 parent 97dc02b commit b7f6ae7
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,10 @@ categories = ["command-line-interface"]

[dependencies]
unicode-width = "0.1.5"
std = { version = "1.0", package = "rustc-std-workspace-std", optional = true }

[dev-dependencies]
log = "0.4"

[features]
rustc-dep-of-std = ['unicode-width/rustc-dep-of-std', 'std']

0 comments on commit b7f6ae7

Please sign in to comment.