Skip to content

Conversation

@UebelAndre
Copy link
Collaborator

@UebelAndre UebelAndre commented Apr 8, 2025

@UebelAndre UebelAndre marked this pull request as ready for review April 8, 2025 13:00
@UebelAndre UebelAndre requested a review from illicitonion April 8, 2025 13:00
@UebelAndre UebelAndre enabled auto-merge April 8, 2025 13:01
@UebelAndre UebelAndre added this pull request to the merge queue Apr 8, 2025
Merged via the queue into bazelbuild:main with commit 8de8f2b Apr 8, 2025
3 checks passed
github-merge-queue bot pushed a commit that referenced this pull request Oct 16, 2025
#3399 changed the behavior
of runfiles. Due to this change a few cases no longer work with `bazel
run` that did work before. I tried to create a more complex runfiles
example since rules_rust does not have anyone yet + we can use it for
discussing what should be the correct behavior.

```shell
# Everything with bazel test still works
bazel test //...

# bazel run no longer works for all cases that work with bazel test
bazel run //pkg_a:pkg_a_binary
bazel run //pkg_b:pkg_b_binary
```

I added a comment to the few cases that still work with `bazel test` but
no longer work with `bazel run`. In particular, this happens when
requesting a folder through runfiles instead of an individual file.

Co-authored-by: UebelAndre <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants