Skip to content

Conversation

@lpulley
Copy link
Contributor

@lpulley lpulley commented Mar 14, 2025

$maybe_runfiles_root doesn't seem to be a real variable. Based on the presence of the while loop, it seems that this code wants to try resolving the symlink one level at a time (readlink, not realpath) until it can find runfiles?

@aignas
Copy link
Collaborator

aignas commented Mar 14, 2025

Thanks for the contribution. Would it be possible to add a test of some sort to check for regressions in the future? If there is no good place, feel free to create //tests/runfiles package and put it there.

@lpulley
Copy link
Contributor Author

lpulley commented Mar 18, 2025

Let me know what you think of 2e03584!

Copy link
Collaborator

@aignas aignas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In general this LGTM, let me re-kick the CI.

@lpulley lpulley requested a review from aignas March 22, 2025 02:48
@aignas aignas enabled auto-merge March 24, 2025 01:22
@aignas aignas added this pull request to the merge queue Mar 24, 2025
Merged via the queue into bazel-contrib:main with commit d713ba7 Mar 24, 2025
3 checks passed
@lpulley lpulley deleted the fix-stage1-bootstrap-following-symlink branch March 24, 2025 02:40
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