Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions psl/parser-database/src/coerce_expression.rs
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ pub mod coerce_opt {
const fn coerce<'a, T>(
coercion: impl Fn(&'a ast::Expression) -> Option<T>,
expected_type: &'static str,
) -> impl (Fn(&'a ast::Expression, &mut Diagnostics) -> Option<T>) {
) -> impl Fn(&'a ast::Expression, &mut Diagnostics) -> Option<T> {
move |expr, diagnostics| match coercion(expr) {
Some(t) => Some(t),
None => {
Expand All @@ -106,7 +106,7 @@ const fn coerce<'a, T>(
/// Coerce an expression to an array. The coercion function is used to coerce the array elements.
pub fn coerce_array<'a, T>(
expr: &'a ast::Expression,
coercion: &dyn (Fn(&'a ast::Expression, &mut Diagnostics) -> Option<T>),
coercion: &dyn Fn(&'a ast::Expression, &mut Diagnostics) -> Option<T>,
diagnostics: &mut Diagnostics,
) -> Option<Vec<T>> {
let mut out = Vec::new();
Expand Down
6 changes: 4 additions & 2 deletions query-engine/query-engine-wasm/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -58,12 +58,14 @@ build() {
local CARGO_TARGET_DIR
CARGO_TARGET_DIR=$(cargo metadata --format-version 1 | jq -r .target_directory)
echo "🔨 Building $CONNECTOR"
RUSTFLAGS="-Zlocation-detail=none" CARGO_PROFILE_RELEASE_OPT_LEVEL="z" cargo build \
RUSTFLAGS="-Zlocation-detail=none -Zunstable-options -Cpanic=immediate-abort" \
CARGO_PROFILE_RELEASE_OPT_LEVEL="z" \
cargo build \
-p query-engine-wasm \
--profile "$WASM_BUILD_PROFILE" \
--features "$CONNECTOR" \
--target wasm32-unknown-unknown \
-Zbuild-std=std,panic_abort -Zbuild-std-features=panic_immediate_abort
-Zbuild-std=std,panic_abort

local IN_FILE="$CARGO_TARGET_DIR/wasm32-unknown-unknown/$WASM_TARGET_SUBDIR/query_engine_wasm.wasm"
local OUT_FILE="$OUT_FOLDER/$PROVIDER/query_engine_bg.wasm"
Expand Down
2 changes: 1 addition & 1 deletion query-engine/query-engine-wasm/rust-toolchain.toml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[toolchain]
channel = "nightly-2025-06-27"
channel = "nightly-2025-09-29"
components = ["clippy", "rustfmt", "rust-src"]
targets = ["wasm32-unknown-unknown"]
2 changes: 1 addition & 1 deletion rust-toolchain.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[toolchain]
channel = "1.89.0"
channel = "1.90.0"
components = ["clippy", "rustfmt", "rust-src"]
targets = [
# WASM target for serverless and edge environments.
Expand Down
2 changes: 1 addition & 1 deletion schema-engine/connectors/schema-connector/src/error.rs
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ struct ConnectorErrorImpl {
/// Additional context.
message: Option<Box<str>>,
/// The source of the error.
source: Option<Arc<(dyn StdError + Send + Sync + 'static)>>,
source: Option<Arc<dyn StdError + Send + Sync + 'static>>,
/// See the tracing-error docs.
context: SpanTrace,
}
Expand Down
2 changes: 1 addition & 1 deletion schema-engine/sql-schema-describer/src/postgres.rs
Original file line number Diff line number Diff line change
Expand Up @@ -653,7 +653,7 @@ impl<'a> SqlSchemaDescriber<'a> {

let rows = self.conn.query_raw(sql, &[Value::array(namespaces)]).await?;

let names = rows.into_iter().map(|row| (row.get_expect_string("namespace_name")));
let names = rows.into_iter().map(|row| row.get_expect_string("namespace_name"));

for namespace in names {
sql_schema.push_namespace(namespace);
Expand Down
Loading