aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Tolnay <dtolnay@gmail.com>2022-12-06 17:24:49 -0800
committerDavid Tolnay <dtolnay@gmail.com>2022-12-06 17:24:49 -0800
commit22d0c8e3050a7548239416831c4bb635be965e6f (patch)
treeb7c24f456a579010b7dd662b81a782b010910bd3
parent29674ae7f2a1bc03a0a0129abb6aa809e11bb5e4 (diff)
downloadcxx-22d0c8e3050a7548239416831c4bb635be965e6f.tar.gz
Explicitly no default edition during buck2 build
-rw-r--r--tools/buck/toolchains/toolchain.bzl1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/buck/toolchains/toolchain.bzl b/tools/buck/toolchains/toolchain.bzl
index f60a80bf..681b1b6f 100644
--- a/tools/buck/toolchains/toolchain.bzl
+++ b/tools/buck/toolchains/toolchain.bzl
@@ -82,6 +82,7 @@ def _rust_toolchain(ctx):
RustToolchainInfo(
clippy_driver = RunInfo(args = ["clippy-driver"]),
compiler = RunInfo(args = ["rustc"]),
+ default_edition = None,
failure_filter = False,
failure_filter_action = ctx.attrs.failure_filter_action[RunInfo],
rustc_action = ctx.attrs.rustc_action[RunInfo],