Skip to content

build: declare the honest MSRV (1.95) — reedline 0.50 in the lock requires it - #267

Merged
caomengxuan666 merged 1 commit into
masterfrom
fix/upstream-xgr-msrv
Oct 12, 2026
Merged

caomengxuan666 merged 1 commit into
masterfrom
fix/upstream-xgr-msrv

Conversation

@caomengxuan666

Copy link
Copy Markdown
Member

来源

适配自 x2410516039/xgr-niubash(独立镜像仓库,非 fork network)分支 one-shot-fastpath 提交 7e5b169("chore(ci/docs): workspace-wide gates, honest MSRV, lock-sourced rubash rev, changelog backfill",2026-09-19),保留原作者署名(author: xianguanrong [email protected])。fork 分析报告:仓库内 D:/repo/research/xgr-fork-analysis-20261012.md。

问题(已在本机复验)

根/子 manifest 与 README 均宣称 rust-version = 1.70 / badge "Rust 1.70+",但 Cargo.lock 钉住 reedline 0.50.0,其 crates.io 元数据声明 rust_version = 1.95.0(API 实查确认)。1.70-1.94 工具链在解析该依赖时必然失败,而 badge 承诺支持——声明是假的。fork 作者在九月基线上独立诊断出同一问题并修为 1.95。

改动

  • 两个 manifest:rust-version 1.70 → 1.95(沿用原提交的取值;目前没有更高的依赖下限)
  • README.md / README-zh.md:badge 与"从源码构建(Rust 1.70+)"行同步到 1.95

只取了 MSRV 子集

原提交还含 release.yml 的 lock 正则取 rev 与 CI matrix——那些属于他"无 patch、lock rev 真参与编译"的依赖模型;我们的 [patch] 路径覆盖模型下 release.yml 的 git -C ../rubash rev-parse 本来就是诚实的,不采纳。他的"weekly float"对我们也无增量(CI fresh clone 每跑必 float)。

验证

  • crates.io API:reedline 0.50.0 → rust_version: "1.95.0"
  • 本机 stable 1.99 全 workspace cargo check --locked 通过
  • 纯声明性改动,无行为变化

…uires it

The manifests and README claimed rust 1.70+, but Cargo.lock pins
reedline 0.50.0, whose crates.io metadata declares rust-version =
1.95.0, so every 1.70-1.94 toolchain fails to build the dependency
while the badge promises support. Bump both manifests to 1.95 and
sync the README badges and build-from-source lines.

Adapted from x2410516039/xgr-niubash commit 7e5b169
('chore(ci/docs): workspace-wide gates, honest MSRV, lock-sourced
rubash rev, changelog backfill', 2026-09-19), which diagnosed the
same stale MSRV on the September base. Verification here: reedline
0.50.0 on crates.io declares rust_version 1.95.0; workspace builds
clean on 1.99 (stable). Only the MSRV subset was taken; the rest of
the upstream commit (lock-sourced release rev, CI matrix) belongs to
a different dependency model and is tracked separately.
@caomengxuan666
caomengxuan666 merged commit 332a82c into master Oct 12, 2026
9 checks passed
@caomengxuan666
caomengxuan666 deleted the fix/upstream-xgr-msrv branch October 13, 2026 02:06
caomengxuan666 added a commit that referenced this pull request Oct 13, 2026
…1.4.0 section (#326)

- The [Unreleased] entries (#284/#287, #293-#304, #313) move into
  [1.4.0]; [Unreleased] is empty again.
- Newly recorded (today's wave): Git Bash compatible factory default
  prompt (#292, headline), WT-form shortcuts (#290/#211), the paste
  burst trailing-Enter fix (#308/#291), self-update SHA256 + release
  pinning (#311/#312), managed-block convergence (#324), completion
  tables/NIU_COMPDEFS/NIU_ENV probe (#305-#307), -s on-demand stdin
  (rubash#586 host half), bash/rbash invocation faces (#321/#322).
- Older gaps recorded: closed-stdout pipe contract (#245/#286), history
  session-end write-back (#265), sh POSIX contract (#262), PWD persona
  alignment (#283), one-shot fast path (#270), --cwd-state (#272),
  --encoded-command (#271), REPL-command highlighting (#281), docs
  passes (#255/#225/#226/#227), MSRV (#267), easter-egg prune (#264).

CHANGELOG-only change; no version claims.
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.

2 participants