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

Cherry-pick: Introduce a pure Swift runfiles library (#1310) #1496

Merged
merged 1 commit into from
Mar 11, 2025

Conversation

luispadron
Copy link
Contributor

Cherry pick #1310 into 2.x branch.

@luispadron luispadron changed the title Introduce a pure Swift runfiles library (#1310) Cherry-pick: Introduce a pure Swift runfiles library (#1310) Mar 4, 2025
@luispadron luispadron force-pushed the luis/cherry-pick-swift-runfiles branch 2 times, most recently from 25ac7f2 to 6c77ff9 Compare March 8, 2025 04:16
@luispadron luispadron enabled auto-merge (squash) March 8, 2025 04:25
@luispadron luispadron disabled auto-merge March 11, 2025 16:05
Fixes #890

I followed guidance from @fmeum and based this implementation on the
runfiles library of `rules_python` where applicable since this was
pointed as the reference implementation.

In addition to `rules_python` implementation, this implementation uses a
similar mechanism as the C++ implementation for deducing the
`RUNFILES_DIR` and `RUNFILES_MANIFEST_FILE` location based on `argv0`.

---------

Co-authored-by: Brentley Jones <github@brentleyjones.com>
Co-authored-by: Luis Padron <heyluispadron@gmail.com>
Co-authored-by: Fabian Meumertzheim <fabian@meumertzhe.im>
@luispadron luispadron force-pushed the luis/cherry-pick-swift-runfiles branch from 6c77ff9 to f794034 Compare March 11, 2025 16:09
@luispadron
Copy link
Contributor Author

@brentleyjones 🙏🏼, Aaron doesnt seem to have review rights to this branch

@luispadron luispadron enabled auto-merge (squash) March 11, 2025 16:38
@luispadron luispadron merged commit 5bd9ae0 into 2.x Mar 11, 2025
14 checks passed
@luispadron luispadron deleted the luis/cherry-pick-swift-runfiles branch March 11, 2025 17:39
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.

4 participants