From 61f5f25f26c7913be4480fe78b8750ab227daa9a Mon Sep 17 00:00:00 2001 From: Ryan Dahl Date: Sat, 11 Aug 2018 16:04:11 -0400 Subject: s/rust_component/rust_crate/ --- build_extra/rust/rust.gni | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'build_extra/rust/rust.gni') 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, "*") } -- cgit v1.2.3