Skip to content

Commit 7b4b136

Browse files
committed
fix(desktop): declare minimum Rust version 1.88
1 parent 38c0869 commit 7b4b136

File tree

3 files changed

+8
-3
lines changed

3 files changed

+8
-3
lines changed

packages/desktop/README.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Native OpenCode desktop app, built with Tauri v2.
44

55
## Prerequisites
66

7-
Building the desktop app requires additional Tauri dependencies (Rust toolchain, platform-specific libraries). See the [Tauri prerequisites](https://v2.tauri.app/start/prerequisites/) for setup instructions.
7+
Building the desktop app requires additional Tauri dependencies (Rust toolchain, platform-specific libraries). The desktop crate currently requires Rust 1.88 or newer. See the [Tauri prerequisites](https://v2.tauri.app/start/prerequisites/) for setup instructions.
88

99
## Development
1010

@@ -30,3 +30,9 @@ If you see errors about Rust not being found, install it via [rustup](https://ru
3030
```bash
3131
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
3232
```
33+
34+
If Cargo reports that the desktop crate requires a newer compiler, update Rust with:
35+
36+
```bash
37+
rustup update
38+
```

packages/desktop/src-tauri/Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ version = "0.0.0"
44
description = "The open source AI coding agent"
55
authors = ["Anomaly Innovations"]
66
edition = "2024"
7+
rust-version = "1.88"
78

89
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
910

rust-toolchain.toml

Lines changed: 0 additions & 2 deletions
This file was deleted.

0 commit comments

Comments
 (0)