summary refs log tree commit diff
path: root/rust-toolchain
Commit message (Collapse)AuthorAge
* rust-toolchain: Change to stableChirantan Ekbote2019-10-16
| | | | | | | | | | | | | | | | | | | | | | We end up using newer features of the language pretty much as soon as they hit stable so have a toolchain version that's older than the latest stable will quickly break. Also, cargo doesn't install any extra components for this named toolchain (rls, rust-analysis) and it's not immediately obvious why things stopped working. Instead, change the toolchain file to say stable to avoid these issues. BUG=none TEST=none Change-Id: I9c02b64a1bb0175a2c7fd70702328e4082819b91 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/crosvm/+/1863894 Tested-by: Chirantan Ekbote <chirantan@chromium.org> Auto-Submit: Chirantan Ekbote <chirantan@chromium.org> Reviewed-by: Daniel Verkamp <dverkamp@chromium.org> Commit-Queue: Chirantan Ekbote <chirantan@chromium.org>
* rust-toolchain: upgrade to Rust 1.36.0Daniel Verkamp2019-07-30
| | | | | | | | | | | | | | Update the rust-toolchain file and Docker image used in kokoro to match the Chrome OS toolchain. BUG=None TEST=docker/wrapped_smoke_test.sh Change-Id: I95cbf9bcaadd49b8476f2829bc75958dbea304e3 Signed-off-by: Daniel Verkamp <dverkamp@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/crosvm/+/1724850 Tested-by: kokoro <noreply+kokoro@google.com> Reviewed-by: Zach Reizner <zachr@chromium.org>
* rust-toolchain: upgrade to Rust 1.35.0Daniel Verkamp2019-05-30
| | | | | | | | | | | BUG=None TEST=docker/wrapped_smoke_test.sh Change-Id: I0a159d9b54d97098d633ce80b92eeb48eb5c4b55 Signed-off-by: Daniel Verkamp <dverkamp@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/crosvm/+/1632036 Reviewed-by: Zach Reizner <zachr@chromium.org> Tested-by: kokoro <noreply+kokoro@google.com>
* rust-toolchain: upgrade to Rust 1.33.0Daniel Verkamp2019-04-08
| | | | | | | | | | | | | | BUG=None TEST=build_test CQ-DEPEND=CL:1534743 Change-Id: Ic2d9a89dd65b995510b97221e34653442be10cfa Signed-off-by: Daniel Verkamp <dverkamp@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/1534964 Commit-Ready: ChromeOS CL Exonerator Bot <chromiumos-cl-exonerator@appspot.gserviceaccount.com> Tested-by: David Tolnay <dtolnay@chromium.org> Tested-by: kokoro <noreply+kokoro@google.com> Reviewed-by: David Tolnay <dtolnay@chromium.org>
* rust-toolchain: update to Rust 1.32.0Daniel Verkamp2019-02-19
| | | | | | | | | | | | | | | | | | | The Chrome OS Rust toolchain has been updated to Rust 1.32.0[1]; update the version in Kokoro and the rust-toolchain file to match. It looks like there is also one minor formatting change (again). BUG=None TEST=Build kokoro image and run tests [1]: https://chromium-review.googlesource.com/1432733 Change-Id: I5669d99463618e19cb5e957171560dbea33bd5b8 Signed-off-by: Daniel Verkamp <dverkamp@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/1470913 Commit-Ready: ChromeOS CL Exonerator Bot <chromiumos-cl-exonerator@appspot.gserviceaccount.com> Tested-by: kokoro <noreply+kokoro@google.com> Reviewed-by: Zach Reizner <zachr@chromium.org>
* toolchain: Update to Rust 1.31.0David Tolnay2018-12-13
| | | | | | | | | | | | | | | | | | We updated the production toolchain from 1.30 to 1.31 in CL:1366446. This CL does the same upgrade for the local developer toolchain and Kokoro. The relevant changes are in rust-toolchain and kokoro/Dockerfile. The rest are from rustfmt. TEST=cargo fmt --all -- --check TEST=as described in kokoro/README.md Change-Id: I3b4913f3e237baa36c664b4953be360c09efffd4 Reviewed-on: https://chromium-review.googlesource.com/1374376 Commit-Ready: ChromeOS CL Exonerator Bot <chromiumos-cl-exonerator@appspot.gserviceaccount.com> Tested-by: David Tolnay <dtolnay@chromium.org> Reviewed-by: Zach Reizner <zachr@chromium.org>
* toolchain: Add rust-toolchain fileDavid Tolnay2018-11-20
The rust-toolchain file defines a local toolchain override that is respected by rustup when running Cargo commands. This override applies to the directory containing the rust-toolchain file as well as its subdirectories. It makes it so that running `cargo check` or `cargo fmt` always uses the intended toolchain, unless overridden by e.g. `cargo +nightly check`, regardless of what toolchain the user has selected as global default. No more accidentally running a too new or old version of rustfmt! We will need to bump this version number when rolling to a newer toolchain in ebuild. When that happens, local Cargo commands by other crosvm developers will automatically download the new toolchain. For details on rust-toolchain: https://github.com/rust-lang-nursery/rustup.rs#the-toolchain-file https://github.com/rust-lang-nursery/rustup.rs#override-precedence This file is ignored during emerge. Verified by setting rust-toolchain to a bogus version number and emerge succeeded anyway. TEST=rustc --version TEST=rustc +nightly --version TEST=cargo check TEST=cargo fmt --all TEST=cargo +nightly check TEST=build_packages Change-Id: Ia4d74a0c8c632bcd7b171f6c039b068fb30b5502 Reviewed-on: https://chromium-review.googlesource.com/1340728 Commit-Ready: ChromeOS CL Exonerator Bot <chromiumos-cl-exonerator@appspot.gserviceaccount.com> Tested-by: David Tolnay <dtolnay@chromium.org> Reviewed-by: Zach Reizner <zachr@chromium.org>