Skip to content

Commit 74b6726

Browse files
committed
make sure getrandom has the std feature enabled
This fixes a build failure on Windows.
1 parent 8a2fb7a commit 74b6726

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
55

66
## Unreleased
77

8+
### Fixed
9+
10+
- Building Rustwide failed on Windows due to a missing feature flag on the
11+
getrandom crate.
12+
813
## [0.3.0] - 2019-09-23
914

1015
### Added

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ toml = "0.4.6"
4141
fs2 = "0.4.3"
4242
remove_dir_all = "0.5.2"
4343
base64 = "0.10.1"
44-
getrandom = "0.1.12"
44+
getrandom = { version = "0.1.12", features = ["std"] }
4545

4646
[dev-dependencies]
4747
env_logger = "0.6.1"

0 commit comments

Comments
 (0)