diff --git a/.github/workflows/rust-check.yml b/.github/workflows/rust-check.yml index d4c0eb03..7c8cac36 100644 --- a/.github/workflows/rust-check.yml +++ b/.github/workflows/rust-check.yml @@ -24,7 +24,7 @@ on: jobs: check: - name: ${{ matrix.os }} / 1.85 + name: ${{ matrix.os }} / 1.94 runs-on: ${{ matrix.os }} strategy: fail-fast: false @@ -36,7 +36,7 @@ jobs: submodules: recursive - uses: dtolnay/rust-toolchain@stable with: - toolchain: '1.85' + toolchain: '1.94' components: rustfmt, clippy - uses: Swatinem/rust-cache@v2 # Linux GL prerequisites for winit's x11+wayland feature link. diff --git a/.github/workflows/rust-multiplatform.yml b/.github/workflows/rust-multiplatform.yml index 4857d398..e7487925 100644 --- a/.github/workflows/rust-multiplatform.yml +++ b/.github/workflows/rust-multiplatform.yml @@ -72,7 +72,7 @@ jobs: submodules: recursive - uses: dtolnay/rust-toolchain@stable with: - toolchain: '1.85' + toolchain: '1.94' targets: ${{ matrix.target }} components: rustfmt, clippy - uses: Swatinem/rust-cache@v2 @@ -114,9 +114,9 @@ jobs: - name: Test (host, macOS / Windows) if: matrix.cross == false && matrix.check_only != true && runner.os != 'Linux' run: cargo test --workspace --target ${{ matrix.target }} - # Desktop binary artifact upload removed with the `openpencil-app` - # placeholder crate (Phase 1 Task 1.2). Step 1f reintroduces a - # real desktop binary (new `op-*` crate) and its upload step here. + # Desktop binary artifact upload is intentionally not wired here yet. + # The real desktop binary lives in the `openpencil-desktop` crate; a + # build + upload step can be added once release packaging is finalized. wasm-web: name: wasm32-unknown-unknown / openpencil-shell-web (compile guard) @@ -127,7 +127,7 @@ jobs: submodules: recursive - uses: dtolnay/rust-toolchain@stable with: - toolchain: '1.85' + toolchain: '1.94' targets: wasm32-unknown-unknown - uses: Swatinem/rust-cache@v2 with: @@ -173,7 +173,7 @@ jobs: submodules: recursive - uses: dtolnay/rust-toolchain@stable with: - toolchain: '1.85' + toolchain: '1.94' targets: ${{ matrix.target }} - uses: Swatinem/rust-cache@v2 with: diff --git a/.github/workflows/rust-release.yml b/.github/workflows/rust-release.yml index c2f52e07..34340d40 100644 --- a/.github/workflows/rust-release.yml +++ b/.github/workflows/rust-release.yml @@ -57,7 +57,7 @@ jobs: submodules: recursive - uses: dtolnay/rust-toolchain@stable with: - toolchain: '1.85' + toolchain: '1.94' targets: ${{ matrix.target }} - uses: Swatinem/rust-cache@v2 with: diff --git a/.github/workflows/wasm-bundle-check.yml b/.github/workflows/wasm-bundle-check.yml index d4d76869..c6faae8a 100644 --- a/.github/workflows/wasm-bundle-check.yml +++ b/.github/workflows/wasm-bundle-check.yml @@ -21,7 +21,7 @@ jobs: submodules: recursive - uses: dtolnay/rust-toolchain@stable with: - toolchain: '1.85' + toolchain: '1.94' targets: wasm32-unknown-unknown - uses: Swatinem/rust-cache@v2 with: diff --git a/README.md b/README.md index e2497d8b..cc5cae51 100644 --- a/README.md +++ b/README.md @@ -447,8 +447,8 @@ bun run mcp:dev # Run MCP server from source OpenPencil 正在进行全量 Rust 化。当前状态见 `openpencil-docs/superpowers/specs/2026-05-02-rust-ification-kickoff.md`(v7 FROZEN)。 ```bash -# Install Rust toolchain (rust-toolchain.toml auto-pins 1.85) -rustup toolchain install 1.85 +# Install Rust toolchain (rust-toolchain.toml auto-pins 1.94) +rustup toolchain install 1.94 rustup target add wasm32-unknown-unknown # build / test / lint @@ -461,9 +461,14 @@ bun run cargo:deny # cargo-deny (native + wasm32 bans; CI uses cargo-deny **Crate list (`crates/`):** -| Crate | Category | wasm32 | -| ---------------------------------- | ------------------------------ | --------------------------------------------- | -| openpencil-shell-{core,web,native} | UI shell(spec §1.2 三 crate) | core/web ✅ / native ❌ (compile_error guard) | +| Crate | Category | wasm32 | +| ----------------------- | ------------------------------------------------ | ------------------------ | +| openpencil-shell-core | Platform-free widgets + Document model | ✅ | +| openpencil-shell-web | Browser runner (wasm32 + skia-safe-op fork) | ✅ | +| openpencil-shell-native | Native lib (WidgetHostNative + NativeBackend) | ❌ (compile_error guard) | +| openpencil-desktop | Desktop binary (winit + skia-safe GL surface) | ❌ (native only) | +| anthropic-agent-sdk | Vendored Claude Code CLI SDK (streaming, MCP) | ❌ (native only) | +| wasm-libc-shim | libc / libm / libcxx shim for wasm32 skia bundle | ✅ | **Submodule:** `vendor/agent` → `github.com/ZSeven-W/agent-rs` (cross-product Rust agent runtime).