From 48447703f53cfa3508b1bdb5d13bb6e1bb6213ce Mon Sep 17 00:00:00 2001 From: Piotr Siuszko Date: Mon, 15 Sep 2025 11:46:23 +0200 Subject: [PATCH] Create rust-toolchain --- crates/rpack_egui/rust-toolchain | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 crates/rpack_egui/rust-toolchain diff --git a/crates/rpack_egui/rust-toolchain b/crates/rpack_egui/rust-toolchain new file mode 100644 index 0000000..b353e93 --- /dev/null +++ b/crates/rpack_egui/rust-toolchain @@ -0,0 +1,10 @@ +# If you see this, run "rustup self update" to get rustup 1.23 or newer. + +# NOTE: above comment is for older `rustup` (before TOML support was added), +# which will treat the first line as the toolchain name, and therefore show it +# to the user in the error, instead of "error: invalid channel name '[toolchain]'". + +[toolchain] +channel = "1.85" # Avoid specifying a patch version here; see https://github.com/emilk/eframe_template/issues/145 +components = [ "rustfmt", "clippy" ] +targets = [ "wasm32-unknown-unknown" ]