summaryrefslogtreecommitdiff
path: root/build_extra/rust/rust.gni
diff options
context:
space:
mode:
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, "*")
}