| # Copyright 2022 The Fuchsia Authors. All rights reserved. |
| # Use of this source code is governed by a BSD-style license that can be |
| # found in the LICENSE file. |
| |
| import("//build/components.gni") |
| import("//build/rust/rustc_library.gni") |
| |
| rustc_library("fuzz-util") { |
| name = "fuzz-util" |
| version = "0.1.0" |
| edition = "2021" |
| |
| deps = [ |
| "//src/connectivity/lib/net-types", |
| "//src/connectivity/lib/packet-formats", |
| "//third_party/rust_crates:arbitrary", |
| "//third_party/rust_crates:zerocopy", |
| ] |
| |
| sources = [ |
| "src/lib.rs", |
| "src/packet_formats.rs", |
| "src/zerocopy.rs", |
| ] |
| |
| configs -= [ "//build/config/rust/lints:allow_unused_results" ] |
| } |