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

bzltestutil: set importmap to fix run_dir #3679

Merged
merged 1 commit into from
Sep 5, 2023

Commits on Sep 5, 2023

  1. bzltestutil: set importmap to fix run_dir

    Go 1.21 clarified package initialization order and changed behavior:
    packages with lexicographically lower paths are now initialized earlier.
    
    We need bzltestutil to initialize before user packages so it can
    change to the correct directory. To accomplish this, we set an importmap
    prefix that starts with '+', the lowest allowed character.
    
    Fixes bazelbuild#3675
    jayconrod committed Sep 5, 2023
    Configuration menu
    Copy the full SHA
    ed6e8fe View commit details
    Browse the repository at this point in the history