Skip to content

feat: Support path mapping for files passed through copts - #115

Merged
Ahajha merged 3 commits into
mainfrom
trotta/feat-support-path-mapping-for-files-passed-through-copts
Nov 16, 2026
Merged

Ahajha merged 3 commits into
mainfrom
trotta/feat-support-path-mapping-for-files-passed-through-copts

Conversation

@Ahajha

@Ahajha Ahajha commented Nov 16, 2026

Copy link
Copy Markdown
Member

Previously this would not work as we used ctx.expand_location, which returned a string, and thus could not path map.

Now we do a bit of magic to extract the label from the opt, map it to an input, and then pass that as a file to args so it can be path mapped.

Previously this would not work as we used ctx.expand_location, which returned a string, and thus could not path map.

Now we do a bit of magic to extract the label from the opt, map it to an input, and then pass that as a file to `args` so it can be path mapped.
@Ahajha
Ahajha marked this pull request as ready for review November 16, 2026 01:25
@Ahajha
Ahajha requested a review from a team as a code owner November 16, 2026 01:25
@Ahajha
Ahajha merged commit 0b342e2 into main Nov 16, 2026
21 checks passed
@Ahajha
Ahajha deleted the trotta/feat-support-path-mapping-for-files-passed-through-copts branch November 16, 2026 01:27
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.

1 participant