# The Rust toolchain for every rustup-based build: local, CI, cross, snap. # # Pinned so every build uses the same compiler: a new rustc can break the # release web UI. rustc 1.99 (LLVM 23) did: stripping a .wasm now removes # every custom section, wasm-bindgen's included, which is why Cargo.toml # defines [profile.wasm-release] with strip = false. # # Bumping it: change every pin together, then run `cargo make # check_toolchain_pins` (CI runs it too). The pins are this file, # docker/Dockerfile.builder, docker/Dockerfile.android, # crates/desktop/android-build-env.sh and the macOS job in # .github/workflows/cd.yml; rebuild the images afterwards. The F-Droid # recipe (PKGS/fdroid/de.rsplayer.app.yml) gets the new version in the # build block of the next release, not in the old ones. # # No components listed: the Android image and F-Droid install their own # set, and listing them here would make rustup download extras there. # For local lints: rustup component add clippy rustfmt [toolchain] channel = "1.99.1" targets = ["wasm32-unknown-unknown"] profile = "minimal"