Pin Rust toolchain to stable so tauri-cli never panics on a fresh machine

On a machine where rustup has no default toolchain, tauri-cli calls
`cargo metadata` without specifying one and panics in its metadata thread
with no useful error — just an abort. The file lives at the project root
(not src-tauri/) because tauri-cli invokes cargo from there; rustup walks
up from the CWD, so the root copy is the one that gets picked up.

Also notes this in FORK.md so a future forker knows what they would hit
and why the file must exist.
This commit is contained in:
Vincent Rozenberg
2026-09-03 12:44:10 +02:00
parent 8cc34c48ed
commit 76f2aa5928
2 changed files with 8 additions and 0 deletions
+2
View File
@@ -0,0 +1,2 @@
[toolchain]
channel = "stable"