Implement Rust and Slint native client migration and fix desktop startup
ci / linux-arm64-cross (push) Successful in 4m7s
ci / linux-x64 (push) Successful in 4m42s

This commit is contained in:
omar committed 2026-11-10 15:45:24 +03:00
1 parent 0d11f8f99d
commit eb24965076
1303 files changed
+732670 -2375

No files matched your search

+7 -3
View File
@@ -14,12 +14,16 @@ have not been proven.
```
npm ci
rustup target add wasm32-unknown-unknown
node scripts/build-denoise.mjs # independent WASM noise reduction
cargo build --release --locked --manifest-path core/Cargo.toml # requires Rust ≥ 1.89, CMake and a C compiler
node scripts/build-denoise.mjs # workspace denoise profile, zero-import WASM
cargo build --release --locked --manifest-path core/Cargo.toml # pinned Rust 1.96.0, CMake and a C compiler
npm start
```
Electron looks for the core in `core/target/release` and `core/target/debug`, choosing the newer binary.
Electron looks for the core in workspace `target/release` and `target/debug`, choosing the newer binary.
`CARGO_TARGET_DIR` overrides that directory; relative paths resolve from the repository root in the
launch and packaging scripts. The workspace uses one root `Cargo.lock`; the `denoise` Cargo profile
retains the separate WASM optimization settings. The native migration is in progress, not a replacement
client release: `native/compatibility.json` tracks pending consumer contracts, not completed features.
If rustup installed Cargo without adding it to PATH on Windows, run
`%USERPROFILE%\.cargo\bin\cargo.exe` or open Developer PowerShell for VS. Use `-j 2` if linking runs out
of memory.