From cf1a145cf654c23a42c39bbbe15027674c537ac7 Mon Sep 17 00:00:00 2001 From: iphydf Date: Sun, 24 Dec 2023 00:16:33 +0000 Subject: [PATCH] chore: Disable targets for cross-compilation. This way we can do bazel build //... when cross-compiling. --- BUILD.bazel | 1 + tools/BUILD.bazel | 1 + 2 files changed, 2 insertions(+) diff --git a/BUILD.bazel b/BUILD.bazel index 64c85b2..f6e9ace 100644 --- a/BUILD.bazel +++ b/BUILD.bazel @@ -23,6 +23,7 @@ haskell_library( ":api_tox_tox", ], src_strip_prefix = "src", + tags = ["no-cross"], version = "0.2.12", visibility = ["//visibility:public"], deps = [ diff --git a/tools/BUILD.bazel b/tools/BUILD.bazel index 0c45ddb..d601a3e 100644 --- a/tools/BUILD.bazel +++ b/tools/BUILD.bazel @@ -3,6 +3,7 @@ load("@rules_haskell//haskell:defs.bzl", "haskell_binary") haskell_binary( name = "groupbot", srcs = ["groupbot.hs"], + tags = ["no-cross"], visibility = ["//tools/haskell:__pkg__"], deps = [ "//hs-toxcore-c",