From 87b4c5c7b1655f8032a7cb5de7a0426d1895b850 Mon Sep 17 00:00:00 2001 From: Ingvar Stepanyan Date: Thu, 29 Nov 2018 17:09:44 +0000 Subject: [PATCH] Add rust-toolchain file set to nightly This allows new contributors to avoid manually running `rustup override set nightly`. --- .github/PULL_REQUEST_TEMPLATE.md | 6 ++---- rust-toolchain | 1 + 2 files changed, 3 insertions(+), 4 deletions(-) create mode 100644 rust-toolchain diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md index e07bd50..43c3cb7 100644 --- a/.github/PULL_REQUEST_TEMPLATE.md +++ b/.github/PULL_REQUEST_TEMPLATE.md @@ -1,12 +1,10 @@ Make sure these boxes are checked! 📦✅ -- [ ] You have the latest version of `rustfmt` installed and have your - cloned directory set to nightly +- [ ] You have the latest version of `rustfmt` installed ```bash -$ rustup override set nightly $ rustup component add rustfmt-preview --toolchain nightly ``` -- [ ] You ran `rustfmt` on the code base before submitting +- [ ] You ran `cargo fmt` on the code base before submitting - [ ] You reference which issue is being closed in the PR text ✨✨ 😄 Thanks so much for contributing to wasm-pack! 😄 ✨✨ diff --git a/rust-toolchain b/rust-toolchain new file mode 100644 index 0000000..bf867e0 --- /dev/null +++ b/rust-toolchain @@ -0,0 +1 @@ +nightly