# 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/rust/rustc_binary.gni") | |
import("//src/sys/build/components.gni") | |
fuchsia_component("crasher") { | |
component_name = "rust_crasher" | |
manifest = "meta/crasher.cmx" | |
deps = [ ":crasher_exe" ] | |
} | |
rustc_binary("crasher_exe") { | |
name = "rust_crasher" | |
edition = "2018" | |
sources = [ "src/main.rs" ] | |
} |