FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Comparing mvdan:master...a0preetham:master · mvdan/sh · GitHub

/ sh Public
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: mvdan/sh
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: master
Choose a base ref
Could not load branches
Nothing to show
{{ refName }}
...
head repository: a0preetham/mdvan-sh
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: master
Choose a head ref
Could not load branches
Nothing to show
{{ refName }}
Checking mergeability… Don’t worry, you can still create the pull request.
  • 4 commits
  • 10 files changed
  • 2 contributors

Commits on May 9, 2026

  1. Add WASM build notes for gosh (wasip1 target)

    Documents Go and wasmtime install steps, the single build command, and
    the three wasmtime invocation patterns (inline, stdin, script file).
    
    Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
    mysorepreetham and claude committed May 9, 2026
    Configuration menu
    Copy the full SHA
    8bb75f1 View commit details
    Browse the repository at this point in the history
  2. Add coreutils and shell pipe support for WASI target

    - Add cmd/gosh/coreutils.go: wires in u-root implementations of cat,
      chmod, cp, mkdir, mv, rm, touch, xargs, gzip/gunzip, mktemp, tar;
      ls and find are reimplemented with stdlib to avoid u-root/pkg/ls
      which uses macOS-only syscall fields incompatible with wasip1;
      base64 and shasum are reimplemented with stdlib to avoid os.Pipe
    
    - Patch interp to replace os.Pipe with io.Pipe throughout so shell
      pipes (|), heredocs (<<), and herestrings (<<<) work under WASI;
      change stdin field from *os.File to io.Reader; guard SetReadDeadline
      behind a type assertion so non-file readers work safely
    
    Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
    mysorepreetham and claude committed May 9, 2026
    Configuration menu
    Copy the full SHA
    73b4c1f View commit details
    Browse the repository at this point in the history
  3. Use u-root base64 and shasum directly

    Now that interp uses io.Pipe instead of os.Pipe, the u-root base64 and
    shasum commands work as-is. Only ls and find need stdlib replacements,
    due to u-root/pkg/ls using macOS-specific syscall.Stat_t fields that
    are absent on wasip1.
    
    Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
    mysorepreetham and claude committed May 9, 2026
    Configuration menu
    Copy the full SHA
    8c3cd65 View commit details
    Browse the repository at this point in the history
  4. Update WASM_BUILD.md with supported commands and current build state

    Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
    mysorepreetham and claude committed May 9, 2026
    Configuration menu
    Copy the full SHA
    92d1f29 View commit details
    Browse the repository at this point in the history
Loading

Back | FazBrowse Home | New Git URL