File tree Expand file tree Collapse file tree 3 files changed +10
-1
lines changed Expand file tree Collapse file tree 3 files changed +10
-1
lines changed Original file line number Diff line number Diff line change @@ -5,6 +5,9 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
55and this project adheres to [ Semantic Versioning] ( https://semver.org/spec/v2.0.0.html ) .
66
77
8+ ## [ 0.1.1] - 2019-04-05
9+ - Enable std functionality for CloudABI by default.
10+
811## [ 0.1.0] - 2019-03-23
912Publish initial implementation.
1013
Original file line number Diff line number Diff line change 11[package ]
22name = " getrandom"
3- version = " 0.1.0 "
3+ version = " 0.1.1 "
44edition = " 2018"
55authors = [" The Rand Project Developers" ]
66license = " MIT OR Apache-2.0"
Original file line number Diff line number Diff line change @@ -2,6 +2,12 @@ extern crate getrandom;
22
33use getrandom:: getrandom;
44
5+ #[ test]
6+ fn test_zero ( ) {
7+ // Test that APIs are happy with zero-length requests
8+ getrandom ( & mut [ 0u8 ; 0 ] ) . unwrap ( ) ;
9+ }
10+
511#[ test]
612fn test_diff ( ) {
713 let mut v1 = [ 0u8 ; 1000 ] ;
You can’t perform that action at this time.
0 commit comments