blob: e5023f4579ef6883263a4afdc0cd410dfddff471 [file] [log] [blame] [edit]
# Copyright 2020 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_binary.gni")
fuchsia_component("crasher_v2") {
component_name = "rust_crasher"
manifest = "meta/crasher.cml"
deps = [ ":crasher_exe" ]
}
fuchsia_unittest_component("rust_crasher_test") {
deps = [ ":crasher_exe_test" ]
}
rustc_binary("crasher_exe") {
name = "rust_crasher"
edition = "2021"
with_unit_tests = true
sources = [ "src/main.rs" ]
deps = [
"//src/lib/fuchsia-async",
"//third_party/rust_crates:argh",
]
}