blob: b51b03c11a87ff0143fb1ea746c1f1a25ac35fa3 [file] [log] [blame]
# 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_macro.gni")
rustc_macro("macro") {
edition = "2021"
name = "cml_macro"
source_root = "src/lib.rs"
deps = [
"//third_party/rust_crates:maplit",
"//third_party/rust_crates:proc-macro2",
"//third_party/rust_crates:quote",
"//third_party/rust_crates:syn",
]
sources = [
"src/common.rs",
"src/derive_checked_vec.rs",
"src/derive_one_or_many.rs",
"src/derive_reference.rs",
"src/lib.rs",
]
}