From 8f50570e80888d5a44b2188a745a35862e71b7c4 Mon Sep 17 00:00:00 2001 From: David Tolnay Date: Fri, 2 Dec 2022 23:12:03 -0800 Subject: [PATCH] Hide buck2 submodule from bazel Otherwise `bazel build ...` gets tripped up. ERROR: error loading package 'tools/buck/buck2/examples/no_prelude/go/binary-toolchain': cannot load '//:rules.bzl': no such file ERROR: error loading package 'tools/buck/buck2/examples/no_prelude/rust/rustc': cannot load '//:rules.bzl': no such file ERROR: error loading package 'tools/buck/buck2/examples/prelude/cpp/library': Unable to find package for @prelude//rules.bzl:rules.bzl: The repository '@prelude' could not be resolved: Repository '@prelude' is not defined. ERROR: error loading package 'tools/buck/buck2/examples/prelude/python/library': Unable to find package for @prelude//rules.bzl:rules.bzl: The repository '@prelude' could not be resolved: Repository '@prelude' is not defined. INFO: Elapsed time: 0.167s INFO: 0 processes. FAILED: Build did NOT complete successfully (0 packages loaded) --- .bazelignore | 1 + 1 file changed, 1 insertion(+) diff --git a/.bazelignore b/.bazelignore index 2f7896d1..c42dab31 100644 --- a/.bazelignore +++ b/.bazelignore @@ -1 +1,2 @@ target/ +tools/buck/buck2/