summaryrefslogtreecommitdiff
path: root/build_extra/rust/rust.gni
diff options
context:
space:
mode:
authorRyan Dahl <ry@tinyclouds.org>2018-08-11 16:04:11 -0400
committerRyan Dahl <ry@tinyclouds.org>2018-08-13 13:27:13 -0400
commit61f5f25f26c7913be4480fe78b8750ab227daa9a (patch)
tree3b04134599cfd33c902ee3ceb2ac52c02943346e /build_extra/rust/rust.gni
parente9d692ef70e05247e1d20f8536dd711d5df3309a (diff)
s/rust_component/rust_crate/
Diffstat (limited to 'build_extra/rust/rust.gni')
-rw-r--r--build_extra/rust/rust.gni4
1 files changed, 2 insertions, 2 deletions
diff --git a/build_extra/rust/rust.gni b/build_extra/rust/rust.gni
index 8f63bcc08..349e31c85 100644
--- a/build_extra/rust/rust.gni
+++ b/build_extra/rust/rust.gni
@@ -180,7 +180,7 @@ template("run_rustc") {
}
}
-template("rust_component") {
+template("rust_crate") {
rustc_name = target_name + "_rustc"
rustc_label = ":" + rustc_name
@@ -236,7 +236,7 @@ template("rust_executable") {
bin_name = target_name + "_bin"
bin_label = ":" + bin_name
- rust_component(bin_name) {
+ rust_crate(bin_name) {
crate_type = "bin"
forward_variables_from(invoker, "*")
}