-
-
Notifications
You must be signed in to change notification settings - Fork 90
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: stop requiring MANIFEST to deduce runfiles directory #937
base: main
Are you sure you want to change the base?
fix: stop requiring MANIFEST to deduce runfiles directory #937
Conversation
cc @fmeum |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some tests are failing
continue | ||
|
||
runfiles_dir = _calculate_runfiles_dir(default_info) | ||
# Expect a .runfiles directory for each executable. | ||
runfiles_dir = default_info.files_to_run.executable.short_path + ".runfiles" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This may need to be prefixed with ctx.workspace_name
.
Tests are failing because it seems that Could this be a Bazel bug ? |
Hmm, I will take a look. Since source files can't have runfiles, could you use that check to fix the failure? |
On second thought, I don't think that this could be fixed. Bazel needs to set |
Addresses #936