Skip to content

Commit

Permalink
fuzz profile
Browse files Browse the repository at this point in the history
  • Loading branch information
andrei-near committed Oct 2, 2024
1 parent c274ebe commit 6de3bb8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -447,6 +447,7 @@ debug-assertions = true
# Used for fuzzing, LTO is ill-supported as of 2023-09 and so should not be enabled.
[profile.fuzz]
inherits = "dev"
features = ["near-crypto/rand-std"]
opt-level = 3
incremental = false
codegen-units = 1
Expand Down
3 changes: 2 additions & 1 deletion core/crypto/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,8 @@ curve25519-dalek = { workspace = true, features = ["rand_core"] }

[features]
default = ["rand"]
rand = ["secp256k1/rand-std", "rand/getrandom", "ed25519-dalek/rand_core"]
rand = ["secp256k1/rand", "rand/getrandom", "ed25519-dalek/rand_core"]
rand-std = ["secp256k1/rand-std"]

protocol_schema = [
"near-schema-checker-lib/protocol_schema",
Expand Down

0 comments on commit 6de3bb8

Please sign in to comment.