bazelisk icon indicating copy to clipboard operation
bazelisk copied to clipboard

--strict breaks on Linux with Bazel 0.24.1

Open ejona86 opened this issue 5 years ago • 2 comments

$ USE_BAZEL_VERSION=0.24.1 ../bazelisk-linux-amd64 --strict build ...
ERROR: Unrecognized option: --incompatible_windows_style_arg_escaping

https://github.com/bazelbuild/bazel/issues/7454 is marked for migration. I assume the unrecognized option is because the flag is windows-only.

ejona86 avatar Apr 04 '19 19:04 ejona86

The problem was that the flag is a startup flag, but Bazelisk doesn't understand that (granted, there's also no way to know that from looking at the issue), so it tried to pass it as a normal flag, which caused Bazel to fail.

We'll have to somehow add a signal to the issues so that Bazelisk knows where to put the flag. Luckily, incompatible startup flags should be very rare.

philwo avatar Jun 04 '19 15:06 philwo