diff options
author | David Tolnay <dtolnay@gmail.com> | 2022-12-05 13:35:09 -0800 |
---|---|---|
committer | David Tolnay <dtolnay@gmail.com> | 2022-12-05 13:35:09 -0800 |
commit | c9d04395b385529c6ac52d80a025637a49627606 (patch) | |
tree | 862db81120795d3473439c2368515ed8f2412d5f | |
parent | 2d337cc4d6052546b774e67dae6b065d859e40d3 (diff) | |
download | cxx-c9d04395b385529c6ac52d80a025637a49627606.tar.gz |
Touch up toolchain definition
-rw-r--r-- | tools/buck/toolchains/toolchain.bzl | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/tools/buck/toolchains/toolchain.bzl b/tools/buck/toolchains/toolchain.bzl index 8f38e50b..66e08cc2 100644 --- a/tools/buck/toolchains/toolchain.bzl +++ b/tools/buck/toolchains/toolchain.bzl @@ -12,7 +12,7 @@ load("@prelude//linking:link_info.bzl", "LinkStyle") load("@prelude//python_bootstrap:python_bootstrap.bzl", "PythonBootstrapToolchainInfo") load("@prelude//rust:rust_toolchain.bzl", "RustPlatformInfo", "RustToolchainInfo") -DEFAULT_MAKE_COMP_DB = "@prelude//cxx/tools:make_comp_db" +DEFAULT_MAKE_COMP_DB = "prelude//cxx/tools:make_comp_db" def _cxx_toolchain(ctx): """ @@ -67,9 +67,7 @@ cxx_toolchain = rule( def _python_bootstrap_toolchain(_ctx): return [ DefaultInfo(), - PythonBootstrapToolchainInfo( - interpreter = "python3", - ), + PythonBootstrapToolchainInfo(interpreter = "python3"), ] python_bootstrap_toolchain = rule( @@ -91,9 +89,7 @@ def _rust_toolchain(ctx): rustc_target_triple = "x86_64-unknown-linux-gnu", rustdoc = "rustdoc", ), - RustPlatformInfo( - name = "x86_64", - ), + RustPlatformInfo(name = "x86_64"), ] rust_toolchain = rule( |