Skip to content

Commit

Permalink
chore(core): Add dummy cargo-fuzz target
Browse files Browse the repository at this point in the history
  • Loading branch information
jpochyla committed Jun 15, 2021
1 parent ea0aa1e commit b7f8d90
Show file tree
Hide file tree
Showing 5 changed files with 439 additions and 2 deletions.
13 changes: 11 additions & 2 deletions core/embed/rust/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,13 @@ opt-level = "z"
lto = true
codegen-units = 1

[dependencies]
cty = "0.2.1"
[profile.test]
split-debuginfo = "unpacked"

# Runtime dependencies

[dependencies.cty]
version = "0.2.1"

[dependencies.heapless]
version = "0.7.0"
Expand All @@ -34,11 +39,15 @@ default_features = false
version = "0.2.2"
default_features = false

# Build dependencies

[build-dependencies.bindgen]
version = "0.58.0"
default_features = false
features = ["runtime"]

# Build dependencies used for linking the test binary

[build-dependencies.cc]
optional = true
version = "1.0.68"
Expand Down
3 changes: 3 additions & 0 deletions core/embed/rust/fuzz/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
target
corpus
artifacts

0 comments on commit b7f8d90

Please sign in to comment.