Skip to content

Instantly share code, notes, and snippets.

@katre
katre / gist:05d297fb4d89a7e611cfbe4c818fc510
Created November 18, 2021 19:26
Bazel toolchain-on-toolchain
# Using released bazel
~/repos/bazel-toolchain-deps/toolchain-on-toolchain:main$ bazel build --incompatible_override_toolchain_transition //:hs --platforms //platform:linux_arm
INFO: Build option --incompatible_override_toolchain_transition has changed, discarding analysis cache.
INFO: Analyzed target //:hs (0 packages loaded, 95 targets configured).
INFO: Found 1 target...
INFO: From Compiling Haskell binary hs.sh:
! Haskell compiler
! Running on x86_64 linux
! Targetting arm linux
! Using CC bazel-out/host/bin/cc/cc_linux_x86_64_cross_arm
@katre
katre / .gitignore
Last active August 21, 2019 17:31
Demo of proto_library error
bazel-*
@katre
katre / .gitignore
Last active March 1, 2019 16:59
Invalid toolchain demo
bazel-*

Keybase proof

I hereby claim:

  • I am katre on github.
  • I am katre (https://keybase.io/katre) on keybase.
  • I have a public key whose fingerprint is C9BD 2B72 552B 528C 3F06 2FB5 3E3B 8CFC 8E08 57E1

To claim this, I am signing this object: