Repository navigation
docs: state plainly that niu has no MSYS runtime - the labels are a persona - #248
Merged
Merged
Conversation
…ersona niu prints MSYS labels (uname -> MSYS_NT, OSTYPE=msys, MACHTYPE x86_64-pc-msys) but is a pure native Windows build: no msys-2.0.dll, no cygwin1.dll, no POSIX->Windows argv conversion. Document the persona as a persona (rubash#154), list the measured behavioral boundary (POSIX argv spellings arrive verbatim; /etc is a real Windows dir with only mtab; no perl; awk is winuxcmd's own native build), and give the one-line orientation: Git Bash = MSYS2 runtime + GNU bash; niu = native engine + compatibility persona.
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.
Motivation
niu's Windows identity surfaces are MSYS-labeled (
uname -s->MSYS_NT-...,$OSTYPE=msys,$MACHTYPE=x86_64-pc-msys), but we have no MSYS runtime at all — nomsys-2.0.dll, nocygwin1.dll, no POSIX->Windows argv conversion. The labels are the compatibility persona from rubash#154, added so ecosystem scripts that gate onMINGW*|MSYS*|CYGWIN*/OSTYPE = msyspass. The docs should not extend that disguise: this PR documents the persona as a persona.What changed
One new section in
docs/src/platform-support.md— "What niu is not: no MSYS runtime":RUBASH_IDENTITY=nativeflipsuname -stoWindows_NT,$MACHTYPEtox86_64-pc-windows).cmd /c echo /d/repoprints/d/repo);git -C /d/repo ...fails — passD:/repo; no MSYS2 root filesystem (/is the drive root,/etccarries only winuxcmd'smtabshim); no perl, andawkis winuxcmd's own native build, not MSYS2's.MSYS_NO_PATHCONV-style switch, because there is nothing to switch off.Every claim in the table was reproduced against the released build before being written down. README (en/zh) was checked and left untouched: all of its MSYS/Git Bash mentions are already explicit "not MSYS / not Git Bash" statements, so there is nothing to correct there.
Upstream sync reminder (rubash)
The persona's code comments live in rubash
src/executor/identity.rs, outside this repo. rubash should get a matching comment/Docs note so the "labels are a persona, not a runtime" statement is stated at the implementation site too, not only here.No code changes; docs only.