Update to rust 1.44.0 (#10585)
* Update rust 1.44.0 * Update rust nightly 1.46.0 * Update docs * Fix clippy errors * Compile all source code with stable and nightly * Add another note * script tweaks * Fix a test... * Add another workaround * Add hack * Increase timeout... * Revert "Add hack" This reverts commit 5960f087203be8792ec0728a6755288c317a2788. * Revert "Add another workaround" This reverts commit e14300d01ffd1b8e86e676662177545549b45c13. * Require nightly rustfmt and use older nightly a bit * Improve document a bit * Revert now not-existing clippy check...
This commit is contained in:
@ -28,14 +28,17 @@ echo --- build environment
|
||||
export RUST_BACKTRACE=1
|
||||
export RUSTFLAGS="-D warnings"
|
||||
|
||||
if _ scripts/cargo-for-all-lock-files.sh +"$rust_nightly" check --locked --all-targets; then
|
||||
# Exclude --benches as it's not available in rust stable yet
|
||||
if _ scripts/cargo-for-all-lock-files.sh +"$rust_stable" check --locked --tests --bins --examples; then
|
||||
true
|
||||
else
|
||||
check_status=$?
|
||||
echo "Some Cargo.lock is outdated; please update them as well"
|
||||
echo "Some Cargo.lock might be outdated; update them (or just be a compilation error?)"
|
||||
echo "protip: you can use ./scripts/cargo-for-all-lock-files.sh [check|update] ..."
|
||||
exit "$check_status"
|
||||
fi
|
||||
# Ensure nightly and --benches
|
||||
_ scripts/cargo-for-all-lock-files.sh +"$rust_nightly" check --locked --all-targets
|
||||
|
||||
_ ci/order-crates-for-publishing.py
|
||||
_ cargo +"$rust_stable" fmt --all -- --check
|
||||
|
Reference in New Issue
Block a user