Skip to content

Remove calls to resolve_tools#2406

Draft
iteratee wants to merge 6 commits intotweag:masterfrom
iteratee:kb/bazel86
Draft

Remove calls to resolve_tools#2406
iteratee wants to merge 6 commits intotweag: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
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
@iteratee iteratee force-pushed the kb/bazel86 branch 4 times, most recently from c362397 to ea1658b Compare April 4, 2026 04:42
The inherited RUNFILES_* environment variables aren't correct. Pass in a
path to try and find the correct directory/manifest. Only prints
currently.
iteratee added 4 commits April 4, 2026 00:34
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