Skip to content
This repository has been archived by the owner on Jan 22, 2025. It is now read-only.

Commit

Permalink
Update getrandom bpf dependency (#17388)
Browse files Browse the repository at this point in the history
(cherry picked from commit 8c073b2)

Co-authored-by: Jack May <jack@solana.com>
  • Loading branch information
mergify[bot] and jackcmay authored May 21, 2021
1 parent 40c95dd commit 7cc96dc
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions docs/src/developing/on-chain-programs/developing-rust.md
Original file line number Diff line number Diff line change
Expand Up @@ -278,6 +278,12 @@ program's `Cargo.toml`:
getrandom = { version = "0.1.14", features = ["dummy"] }
```

or if the dependency is on getrandom v0.2 add:

```
getrandom = { version = "0.2.2", features = ["custom"] }
```

## Logging

Rust's `println!` macro is computationally expensive and not supported. Instead
Expand Down

0 comments on commit 7cc96dc

Please sign in to comment.