blob: f7644dee4c38364285173059ed923f946e7f8450 [file] [log] [blame]
# 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/rust/rustc_library.gni")
import("//build/rust/rustc_macro.gni")
assert(is_host)
rustc_macro("lib") {
name = "fho_macro"
version = "0.1.0"
edition = "2021"
with_unit_tests = true
deps = [
"//third_party/rust_crates:proc-macro2",
"//third_party/rust_crates:quote",
"//third_party/rust_crates:syn",
]
test_deps = [ "//third_party/rust_crates:assert_matches" ]
sources = [
"src/errors.rs",
"src/lib.rs",
"src/structs.rs",
"src/testing.rs",
"src/types.rs",
]
}