Skip to content
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

Make --nobuild_runfiles_links work in combination with --run_under #14471

Commits on Dec 22, 2021

  1. Make --nobuild_runfiles_links work in combination with --run_under

    When both of these flags are provided, we must make sure that a "bazel
    run" forcefully instantiates the runfiles directories both for the
    target to run, and the --run_under target. Right now it only ensures
    this for the former, which causes execution errors along the lines of:
    
    Cannot find .runfiles directory for /some/path
    
    This code alters the existing code block that ensures that runfiles
    exist to loop over the entire set of targets. We do need to capture the
    path of the runfiles directory of the target to run, as it may need be
    used as the working directory later on.
    EdSchouten committed Dec 22, 2021
    Configuration menu
    Copy the full SHA
    2b2955e View commit details
    Browse the repository at this point in the history