diff options
author | Ryan Dahl <ry@tinyclouds.org> | 2018-08-11 16:04:11 -0400 |
---|---|---|
committer | Ryan Dahl <ry@tinyclouds.org> | 2018-08-13 13:27:13 -0400 |
commit | 61f5f25f26c7913be4480fe78b8750ab227daa9a (patch) | |
tree | 3b04134599cfd33c902ee3ceb2ac52c02943346e /build_extra/rust/rust.gni | |
parent | e9d692ef70e05247e1d20f8536dd711d5df3309a (diff) |
s/rust_component/rust_crate/
Diffstat (limited to 'build_extra/rust/rust.gni')
-rw-r--r-- | build_extra/rust/rust.gni | 4 |
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, "*") } |