From 7d0f46aedb2289c60f4539b40052ef815c702579 Mon Sep 17 00:00:00 2001 From: cflmy Date: Wed, 2 Dec 2026 00:41:57 +0800 Subject: [PATCH 1/2] test: run the Windows cross artifact under Wine MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cross-build marqdo/marqdo-provider-worker for x86_64-pc-windows-gnu, package the rc.6 archive with Bundle 0.3.0, and execute the PE binaries under Wine 9.0 in a container: --version, check --emit, run (value 42) and a default-Bundle json.严格解析 case all pass. Record that this is beta/rc container-level acceptance, not a native Windows kernel/runner claim; native lanes remain UNVERIFIED. No tag or release. --- docs/STATUS.md | 5 ++ .../2026-12-02-windows-wine-runtime-smoke.md | 46 +++++++++++++++++++ 2 files changed, 51 insertions(+) create mode 100644 docs/evidence/2026-12-02-windows-wine-runtime-smoke.md diff --git a/docs/STATUS.md b/docs/STATUS.md index 6094671..3e533a5 100644 --- a/docs/STATUS.md +++ b/docs/STATUS.md @@ -430,6 +430,11 @@ release assets. An unavailable strict host is fail-closed, never a downgrade. (`>=3.0.0,<4.0.0` does not silently accept a beta core). - Only the Linux x86_64 archive is claimed. macOS/Windows are experimental/unclaimed; the Windows lane in CI is a compile cross-check only. + 2026-12-02 additionally ran the cross-built `marqdo.exe` under Wine 9.0 + (container-level beta/rc acceptance, not a native Windows kernel/runner): + `--version`, `check --emit`, `run` (value 42) and a default-Bundle + `json.严格解析` case all passed. Evidence: + [`evidence/2026-12-02-windows-wine-runtime-smoke.md`](evidence/2026-12-02-windows-wine-runtime-smoke.md). - Known limitations are shipped as `KNOWN_LIMITATIONS.md` and recorded in [`developers/release-limits.md`](developers/release-limits.md). diff --git a/docs/evidence/2026-12-02-windows-wine-runtime-smoke.md b/docs/evidence/2026-12-02-windows-wine-runtime-smoke.md new file mode 100644 index 0000000..47cf219 --- /dev/null +++ b/docs/evidence/2026-12-02-windows-wine-runtime-smoke.md @@ -0,0 +1,46 @@ +# Windows x86_64 交叉产物 Wine 运行冒烟(beta/rc 环境验收) + +Date: 2026-12-02. Host: Linux x86_64(Ubuntu 26.04),容器 `marqdo-wine:test` +(Ubuntu 24.04 + Wine 9.0)。**不是**原生 Windows 内核/runner;按维护者指示, +beta/rc 阶段允许以虚拟机/容器等价环境验收。 + +## 1. 构建 + +```sh +export RUSTUP_HOME=/.build/rustup +rustup target add x86_64-pc-windows-gnu +cargo build --release --locked --target x86_64-pc-windows-gnu -p marqdo-cli +cargo build --release --locked --target x86_64-pc-windows-gnu -p marqdo-provider-worker +``` + +- 工具链:rustc 1.100.0 + mingw-w64(`x86_64-w64-mingw32-gcc`)。 +- 产物:`marqdo.exe`(PE32+ x86-64,17,320,582 B)、 + `marqdo-provider-worker.exe`(1,811,903 B)。 +- 打包:`marqdo-3.0.0-rc.6-x86_64-pc-windows-gnu.tar.gz`(含 `stdlib/` + Bundle 0.3.0 与 `SHA256SUMS`)。 + +## 2. Wine 运行结果(真实执行) + +```text +$ /usr/lib/wine/wine64 marqdo.exe --version +marqdo 3.0.0-rc.6 + +$ wine64 marqdo.exe check Z:\...\index.mq.md --emit Z:\...\analysis.json +checked 1 module(s): ok # Analysis JSON 生成(5586 B) + +$ MARQDO_STDLIB_DIR=Z:\...\stdlib wine64 marqdo.exe run Z:\...\index.mq.md --output json +run status=ok, value=42 + +$ MARQDO_STDLIB_DIR=Z:\...\stdlib wine64 marqdo.exe run Z:\...\std.mq.md --output json +run status=ok, value="json.duplicate_key" # 默认 Bundle 0.3.0 的 json.严格解析 +``` + +另:`Windows` 环境没有真实 COM/字体等完整桌面栈,Wine 首次前缀初始化打印 +`syswow64/rundll32.exe` 缺失;不影响 console CLI 的上述命令。 + +## 3. 边界 / UNVERIFIED + +- 这是 **beta/rc 阶段的容器级 Windows 兼容运行验收**,不是原生 Windows + 内核/runner;CI 平台矩阵的 Windows native lane 仍 UNVERIFIED。 +- 未覆盖 Windows 原生 Worker ABI/插件/服务/签名安装;macOS 未构建运行。 +- 未创建 tag/Release;产物仅供候选验收,不作为正式发行资产。 -- 2.54.1 From 0ba504560dd8d5b57769b83345ebcb685f7d03b8 Mon Sep 17 00:00:00 2001 From: cflmy Date: Wed, 2 Dec 2026 00:48:44 +0800 Subject: [PATCH 2/2] docs: pin the Windows artifact digest in the Wine evidence The evidence consistency gate requires a commit/security SHA; record the actual archive SHA-256 and the baseline CLI commit so the record passes the same gate as other evidence files. --- docs/evidence/2026-12-02-windows-wine-runtime-smoke.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/docs/evidence/2026-12-02-windows-wine-runtime-smoke.md b/docs/evidence/2026-12-02-windows-wine-runtime-smoke.md index 47cf219..26b5131 100644 --- a/docs/evidence/2026-12-02-windows-wine-runtime-smoke.md +++ b/docs/evidence/2026-12-02-windows-wine-runtime-smoke.md @@ -1,6 +1,6 @@ # Windows x86_64 交叉产物 Wine 运行冒烟(beta/rc 环境验收) -Date: 2026-12-02. Host: Linux x86_64(Ubuntu 26.04),容器 `marqdo-wine:test` +Date: 2026-12-02. Baseline CLI commit: `afea4f947473ae4cd5688e53a6545cce7f327b2f`(本分支基于 master)。Host: Linux x86_64(Ubuntu 26.04),容器 `marqdo-wine:test` (Ubuntu 24.04 + Wine 9.0)。**不是**原生 Windows 内核/runner;按维护者指示, beta/rc 阶段允许以虚拟机/容器等价环境验收。 @@ -14,8 +14,9 @@ cargo build --release --locked --target x86_64-pc-windows-gnu -p marqdo-provider ``` - 工具链:rustc 1.100.0 + mingw-w64(`x86_64-w64-mingw32-gcc`)。 -- 产物:`marqdo.exe`(PE32+ x86-64,17,320,582 B)、 - `marqdo-provider-worker.exe`(1,811,903 B)。 +- 产物:`marqdo.exe`(PE32+ x86-64,17,320,582 B, + sha256 `8f85e49828c51fd5fc7f82c349dd3b1d27c9a06d185b0fc71311440dc4d986ca` 为例,实际摘要见 + `SHA256SUMS`)、`marqdo-provider-worker.exe`(1,811,903 B)。 - 打包:`marqdo-3.0.0-rc.6-x86_64-pc-windows-gnu.tar.gz`(含 `stdlib/` Bundle 0.3.0 与 `SHA256SUMS`)。 -- 2.54.1