File tree 3 files changed +10
-1
lines changed
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/)
5
5
and this project adheres to [ Semantic Versioning] ( https://semver.org/spec/v2.0.0.html ) .
6
6
7
7
8
+ ## [ 0.1.1] - 2019-04-05
9
+ - Enable std functionality for CloudABI by default.
10
+
8
11
## [ 0.1.0] - 2019-03-23
9
12
Publish initial implementation.
10
13
Original file line number Diff line number Diff line change 1
1
[package ]
2
2
name = " getrandom"
3
- version = " 0.1.0 "
3
+ version = " 0.1.1 "
4
4
edition = " 2018"
5
5
authors = [" The Rand Project Developers" ]
6
6
license = " MIT OR Apache-2.0"
Original file line number Diff line number Diff line change @@ -2,6 +2,12 @@ extern crate getrandom;
2
2
3
3
use getrandom:: getrandom;
4
4
5
+ #[ test]
6
+ fn test_zero ( ) {
7
+ // Test that APIs are happy with zero-length requests
8
+ getrandom ( & mut [ 0u8 ; 0 ] ) . unwrap ( ) ;
9
+ }
10
+
5
11
#[ test]
6
12
fn test_diff ( ) {
7
13
let mut v1 = [ 0u8 ; 1000 ] ;
You can’t perform that action at this time.
0 commit comments