diff options
author | David Tolnay <dtolnay@gmail.com> | 2022-12-06 17:22:56 -0800 |
---|---|---|
committer | David Tolnay <dtolnay@gmail.com> | 2022-12-06 17:23:01 -0800 |
commit | 2194551012cae7074143659764fa8b5fd1b1e5b2 (patch) | |
tree | 60a648348af7da8079fca0bdc5283fff9ba25d29 | |
parent | 6dcd9971ec7b0414ae371025b6edb352990664f3 (diff) | |
download | cxx-2194551012cae7074143659764fa8b5fd1b1e5b2.tar.gz |
Match c++ toolchain's declaration of runnable commands
-rw-r--r-- | tools/buck/toolchains/toolchain.bzl | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/buck/toolchains/toolchain.bzl b/tools/buck/toolchains/toolchain.bzl index 6492cb17..13b38184 100644 --- a/tools/buck/toolchains/toolchain.bzl +++ b/tools/buck/toolchains/toolchain.bzl @@ -80,14 +80,14 @@ def _rust_toolchain(ctx): return [ DefaultInfo(), RustToolchainInfo( - clippy_driver = "clippy-driver", - compiler = "rustc", + clippy_driver = RunInfo(args = ["clippy-driver"]), + compiler = RunInfo(args = ["rustc"]), failure_filter = False, failure_filter_action = ctx.attrs.failure_filter_action[RunInfo], rustc_action = ctx.attrs.rustc_action[RunInfo], rustc_flags = ["-Clink-arg=-fuse-ld=lld"], rustc_target_triple = "x86_64-unknown-linux-gnu", - rustdoc = "rustdoc", + rustdoc = RunInfo(args = ["rustdoc"]), rustdoc_flags = ["-Zunstable-options"], # doc builds use unstable '--extern-html-root-url' ), RustPlatformInfo(name = "x86_64"), |