Skip to content

Remove calls to resolve_tools#2406

Draft
iteratee wants to merge 9 commits into
tweag:masterfrom
iteratee:kb/bazel86
Draft

Remove calls to resolve_tools#2406
iteratee wants to merge 9 commits into
tweag:masterfrom
iteratee:kb/bazel86

Conversation

@iteratee
Copy link
Copy Markdown
Collaborator

@iteratee iteratee commented Apr 3, 2026

Replace them mostly with FilesToRunProviders. For cc_wrapper, where repl's also need the runfiles, use a struct that has the executable, the FilesToRunProvider and the runfiles. The executable could be retrieved from the FilesToRunProvider, but it is more convenient to just have it in the struct.

Remove outdated comment about re-enabling resolve_tools for bazel 8

@iteratee iteratee requested a review from avdv as a code owner April 3, 2026 20:18
@iteratee iteratee marked this pull request as draft April 3, 2026 20:33
@iteratee iteratee force-pushed the kb/bazel86 branch 7 times, most recently from a9ff57d to d63c0fe Compare April 4, 2026 07:13
iteratee added 9 commits May 27, 2026 14:17
Replace them mostly with `FilesToRunProvider`s. For cc_wrapper, where
repl's also need the runfiles, use a struct that has the executable, the
`FilesToRunProvider` and the runfiles. The executable could be retrieved
from the `FilesToRunProvider`, but it is more convenient to just have it
in the struct.

Remove outdated comment about re-enabling resolve_tools for bazel 8
The inherited RUNFILES_* environment variables aren't correct. Pass in a
path to try and find the correct directory/manifest. Only prints
currently.
Make sure that the runfiles for cc_wrapper are included in the runfiles
for ghc_wrapper
This will allow the CC_* env vars to reach cc_wrapper if it is invoked
during hsc2hs's run.
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