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" ]