# Copyright 2019 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/package.gni") | |
import("//build/rust/rustc_binary.gni") | |
if (host_toolchain == current_toolchain) { | |
rustc_binary("bindc_bin") { | |
name = "bindc" | |
edition = "2018" | |
with_unit_tests = true | |
deps = [ | |
"//third_party/rust_crates:bitfield", | |
] | |
} | |
} | |
group("bindc") { | |
public_deps = [ | |
":bindc_bin($host_toolchain)", | |
] | |
} |