Repository navigation
Merged
Conversation
… as the help says (#1146) Root cause: run_cli (src/main.w) sent `install-user` to run_graph_target_command, i.e. run_build_command, which needs a build root: "'build' requires a source file argument, build.w, or a with.toml project". A downloaded compiler has no project yet; `with --help` says "install-user Install compiler to ~/.local/bin". With no build root, run_install_self places the running executable (with_self_exe) at ~/.local/bin/with by the build's own install placement (build_graph_install_path: temp sibling, rename, `<dest> version`). Inside a project the project's install-user target still runs. Delegated (D98): not interop, ownership or safety; a revert undoes it; prediction 80%. Test: test/behavior/behav_1146_install_user_outside_a_project.w (HOME is a temp directory; the installed compiler gives the build error).
ehartford
marked this pull request as ready for review
October 25, 2026 22:13
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Root cause: run_cli (src/main.w) sent
install-usertorun_graph_target_command, i.e. run_build_command, which needs a build root:
"'build' requires a source file argument, build.w, or a with.toml project".
A downloaded compiler has no project yet;
with --helpsays "install-userInstall compiler to ~/.local/bin".
With no build root, run_install_self places the running executable
(with_self_exe) at ~/.local/bin/with by the build's own install placement
(build_graph_install_path: temp sibling, rename,
<dest> version). Insidea project the project's install-user target still runs. Delegated (D98):
not interop, ownership or safety; a revert undoes it; prediction 80%.
Test: test/behavior/behav_1146_install_user_outside_a_project.w (HOME is a
temp directory; the installed compiler gives the build error).
Closes #1146