Skip to content

Commit 3a89228

Browse files
authored
Merge pull request #217 from cramertj/fuchsia-update
Update fuchsia-zircon
2 parents 770a213 + b79d4fc commit 3a89228

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,4 +37,4 @@ log = "0.3, <=0.3.8"
3737
members = ["rand-derive"]
3838

3939
[target.'cfg(target_os = "fuchsia")'.dependencies]
40-
fuchsia-zircon = "0.3"
40+
fuchsia-zircon = "0.3.2"

src/os.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -407,7 +407,7 @@ mod imp {
407407
next_u64(&mut |v| self.fill_bytes(v))
408408
}
409409
fn fill_bytes(&mut self, v: &mut [u8]) {
410-
for s in v.chunks_mut(fuchsia_zircon::ZX_CPRNG_DRAW_MAX_LEN) {
410+
for s in v.chunks_mut(fuchsia_zircon::sys::ZX_CPRNG_DRAW_MAX_LEN) {
411411
let mut filled = 0;
412412
while filled < s.len() {
413413
match fuchsia_zircon::cprng_draw(&mut s[filled..]) {

0 commit comments

Comments
 (0)