Files
sausage/userland/brush/README.md
T
2026-11-11 22:04:16 +00:00

23 lines
983 B
Markdown

# The world shell
`source/` contains Brush at upstream revision `943553433ae04f5b3bd55d2cf207e39eb9ef2af7` from <https://github.com/reubeno/brush>.
The upstream MIT license and notices remain in that directory.
All Brush crates belong to the repository's root Cargo workspace.
The root `Cargo.lock` covers their dependencies.
The checked-in Sausage changes replace the WASI process launcher and path lookup.
They use the process interface in `brush-core/sausage-process/`.
The process launcher uses a timer so that host tasks can supply filesystem and stream data.
The shell also records its pinned source revision without a Git command during compilation.
The root manifest supplies the upstream workspace metadata and lint settings.
Build the shell from the repository root:
```sh
nu userland/cwd-init/build.nu
nu userland/brush/build.nu
```
`bundle.nu` invokes the same build and installs the result as `sh` and `bash`.
The build does not fetch, copy, or patch source files.