Skip to content

Commit

Permalink
chore: Disable targets for cross-compilation.
Browse files Browse the repository at this point in the history
This way we can do bazel build //... when cross-compiling.
  • Loading branch information
iphydf committed Dec 24, 2023
1 parent a8190fc commit 8ac8653
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ haskell_library(
name = "hs-msgpack-binary",
srcs = glob(["src/**/*.*hs"]),
src_strip_prefix = "src",
tags = ["no-cross"],
version = "0.0.17",
visibility = ["//visibility:public"],
deps = [
Expand Down
2 changes: 2 additions & 0 deletions tools/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ load("@rules_haskell//haskell:defs.bzl", "haskell_binary")
haskell_binary(
name = "msgpack-parser",
srcs = ["msgpack-parser.hs"],
tags = ["no-cross"],
visibility = ["//tools/haskell:__pkg__"],
deps = [
"//hs-msgpack-arbitrary",
Expand All @@ -14,6 +15,7 @@ haskell_binary(
haskell_binary(
name = "msgpack-gen-sample",
srcs = ["msgpack-gen-sample.hs"],
tags = ["no-cross"],
visibility = ["//tools/haskell:__pkg__"],
deps = [
"//hs-msgpack-arbitrary",
Expand Down

0 comments on commit 8ac8653

Please sign in to comment.