Open xansec opened 2 months ago
As a note - if you use bzlmod instead of your workspace file, this works fine:
MODULE.bazel
...
bazel_dep(name = "rules_fuzzing", version = "0.5.2")
bazel build --config=libfuzzer //fuzz:all
Starting local Bazel server and connecting to it...
WARNING: Ignoring toolchain 'python_3_11' from module 'rules_python': Toolchain 'python_3_11' from module 'rules_fuzzing' already registered Python version 3.11 and has precedence
INFO: Analyzed 2 targets (86 packages loaded, 4260 targets configured).
INFO: Found 2 targets...
INFO: Elapsed time: 9.778s, Critical Path: 0.82s
INFO: 20 processes: 16 internal, 4 local.
INFO: Build completed successfully, 20 total actions
My guess is bzlmod is able to handle this while WORKSPACE isn't?
Expected Behavior
rules_fuzzing works as expected.
Actual Behavior
When I try to include the latest version (0.5.2), I get the following error:
Reverting to 0.4.2 resolves the issue.
Steps to Reproduce the Problem
bazel build --config=libfuzzer <target>
Specifications