chore: bump rust toolchain to 2024-08-21 (#4606)

* chore: bump rust toolchain to 2024-08-22

Signed-off-by: Ruihang Xia <waynestxia@gmail.com>

* fix clippy

Signed-off-by: Ruihang Xia <waynestxia@gmail.com>

* update workflow

Signed-off-by: Ruihang Xia <waynestxia@gmail.com>

* try 20240606

Signed-off-by: Ruihang Xia <waynestxia@gmail.com>

---------

Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
This commit is contained in:
Ruihang Xia
2024-08-22 23:38:10 +08:00
committed by GitHub
parent 863ee073a9
commit a3b8d2fe8f
8 changed files with 8 additions and 7 deletions

View File

@@ -13,7 +13,7 @@ on:
name: Build API docs
env:
RUST_TOOLCHAIN: nightly-2024-08-07
RUST_TOOLCHAIN: nightly-2024-06-06
jobs:
apidoc:

View File

@@ -30,7 +30,7 @@ concurrency:
cancel-in-progress: true
env:
RUST_TOOLCHAIN: nightly-2024-08-07
RUST_TOOLCHAIN: nightly-2024-06-06
jobs:
check-typos-and-docs:

View File

@@ -10,7 +10,7 @@ concurrency:
cancel-in-progress: true
env:
RUST_TOOLCHAIN: nightly-2024-08-07
RUST_TOOLCHAIN: nightly-2024-06-06
permissions:
issues: write

View File

@@ -82,7 +82,7 @@ on:
# Use env variables to control all the release process.
env:
# The arguments of building greptime.
RUST_TOOLCHAIN: nightly-2024-08-07
RUST_TOOLCHAIN: nightly-2024-06-06
CARGO_PROFILE: nightly
# Controls whether to run tests, include unit-test, integration-test and sqlness.

View File

@@ -1,3 +1,3 @@
[toolchain]
channel = "nightly-2024-08-07"
channel = "nightly-2024-06-06"

View File

@@ -245,7 +245,7 @@ mod test {
];
scipy_stats_norm_pdf.update_batch(&v).unwrap();
assert_eq!(
Value::from(0.17843340219081552),
Value::from(0.17843340219081558),
scipy_stats_norm_pdf.evaluate().unwrap()
);

View File

@@ -16,6 +16,7 @@
#![feature(result_flattening)]
#![feature(assert_matches)]
#![feature(extract_if)]
#![feature(option_take_if)]
pub mod bootstrap;
mod cache_invalidator;

View File

@@ -223,7 +223,7 @@ pub enum Error {
#[snafu(display("Unsupported region request: {}", request))]
UnsupportedRegionRequest {
request: RegionRequest,
request: Box<RegionRequest>,
#[snafu(implicit)]
location: Location,
},