Closed jbedard closed 1 year ago
I don't have a windows machine to test with but definitely happy to take PRs to make this nicer
For now I've just tagged it as manual and probably won't put anymore time into it right now. If the issue comes up again maybe I'll give it a shot 👍
If the Bazel team would just give any rule author a Windows VM on GCP that works - half of the Bazel windows problems might get solved 😓
Initial support for Windows has been merged. Currently exclude_patterns
are not supported (they just get ignored). Integration tests are failing likely because of Bazel-in-Bazel weirdness, but I ran the rule on my own projects and the rule works fine. Please report back if it's not working for your project! I deliberately made it so that one doesn't need to enable runfiles on Windows, so if the rule fails for you without specifying --enable_runfiles
please also let me know!
Due to no windows toolchain existing? I think it should at least build even if it fails to run, otherwise it must be marked as
manual
to avoid even building it by default (but then it's of course manual for all platforms).Ideally something such as
target_compatible_with
should be used, however that doesn't stop the toolchains from being downloaded so won't work with the usage of toolchains like today (6.1.0).