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
Browse files Browse the repository at this point in the history
  • Loading branch information
jackcmay authored and mvines committed May 21, 2021
1 parent 2adce67 commit 8c073b2
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 8c073b2

Please sign in to comment.