Skip to content

deps/rust: bump Rust to 1.97.1 and the dynamic modules SDK crates - #48201

Merged
mathetake merged 1 commit into
envoyproxy:mainfrom
agrawroh:deps-rust-toolchain-1.97.1
Oct 11, 2026
Merged

mathetake merged 1 commit into
envoyproxy:mainfrom
agrawroh:deps-rust-toolchain-1.97.1

Conversation

@agrawroh

Copy link
Copy Markdown
Member

Description

This PR upgrades the Rust toolchain from 1.88.0 to 1.97.1. It updates mockall to 0.15.0 and smallvec to 1.16.3 in the dynamic modules Rust SDK. It moves the Proxy-Wasm Rust SDK to version 0.2.5 from the Bazel Central Registry. Rust 1.96 and later require this version. It also aligns the hickory crates and repins the Bazel crate lockfiles.


Commit Message: deps/rust: bump Rust to 1.97.1 and the dynamic modules SDK crates
Risk Level: Low
Testing: Added Tests
Docs Changes: Added
Release Notes: Added

@repokitteh-read-only

Copy link
Copy Markdown

As a reminder, PRs marked as draft will not be automatically assigned reviewers,
or be handled by maintainer-oncall triage.

Please mark your PR as ready when you want it to be reviewed!

🐱

Caused by: #48201 was opened by agrawroh.

see: more, trace.

@agrawroh
agrawroh force-pushed the deps-rust-toolchain-1.97.1 branch from 97e820f to 08e9259 Compare October 10, 2026 23:39
@agrawroh
agrawroh marked this pull request as ready for review October 10, 2026 23:57
@mathetake
mathetake merged commit a07d1c4 into envoyproxy:main Oct 11, 2026
27 checks passed
phlax added a commit to phlax/envoy that referenced this pull request Nov 6, 2026
…module

Rust 1.93 clippy flags `is_some()` + `unwrap()` under `-Dwarnings`; use `if let` as main does
(from envoyproxy#48201).

Signed-off-by: Ryan Northey <[email protected]>
phlax added a commit to phlax/envoy that referenced this pull request Nov 6, 2026
`cloned_ref_to_slice_refs` in cluster_integration_test.rs and `unnecessary_unwrap` in
http_integration_test.rs, plus the explicit `#[link(wasm_import_module)]` on the wasm test
module's extern block, as on main (envoyproxy#48201).

Signed-off-by: Ryan Northey <[email protected]>
phlax added a commit to phlax/envoy that referenced this pull request Nov 9, 2026
…indings

Since Rust 1.85 `unpredictable_function_pointer_comparisons` warns on
`PartialEq` derives over function pointers, and the SDK builds with
`#![deny(warnings)]`. bindgen derives `PartialEq` on system header structs
such as `__darwin_pthread_handler_rec`, so the SDK no longer compiles on
macOS with Rust 1.93.1.

Allow the lint on the generated `abi` module, as main does since envoyproxy#48201.

Signed-off-by: Ryan Northey <[email protected]>
phlax added a commit to phlax/envoy that referenced this pull request Nov 12, 2026
…module

Rust 1.93 clippy flags `is_some()` + `unwrap()` under `-Dwarnings`; use `if let` as main does
(from envoyproxy#48201).

Signed-off-by: Ryan Northey <[email protected]>
phlax added a commit to phlax/envoy that referenced this pull request Nov 12, 2026
`cloned_ref_to_slice_refs` in cluster_integration_test.rs and `unnecessary_unwrap` in
http_integration_test.rs, plus the explicit `#[link(wasm_import_module)]` on the wasm test
module's extern block, as on main (envoyproxy#48201).

Signed-off-by: Ryan Northey <[email protected]>
phlax added a commit to phlax/envoy that referenced this pull request Nov 12, 2026
…indings

Since Rust 1.85 `unpredictable_function_pointer_comparisons` warns on
`PartialEq` derives over function pointers, and the SDK builds with
`#![deny(warnings)]`. bindgen derives `PartialEq` on system header structs
such as `__darwin_pthread_handler_rec`, so the SDK no longer compiles on
macOS with Rust 1.93.1.

Allow the lint on the generated `abi` module, as main does since envoyproxy#48201.

Signed-off-by: Ryan Northey <[email protected]>
phlax added a commit to phlax/envoy that referenced this pull request Nov 12, 2026
…module

Rust 1.93 clippy flags `is_some()` + `unwrap()` under `-Dwarnings`; use `if let` as main does
(from envoyproxy#48201).

Signed-off-by: Ryan Northey <[email protected]>
phlax added a commit to phlax/envoy that referenced this pull request Nov 12, 2026
`cloned_ref_to_slice_refs` in cluster_integration_test.rs and `unnecessary_unwrap` in
http_integration_test.rs, plus the explicit `#[link(wasm_import_module)]` on the wasm test
module's extern block, as on main (envoyproxy#48201).

Signed-off-by: Ryan Northey <[email protected]>
phlax added a commit to phlax/envoy that referenced this pull request Nov 12, 2026
…indings

Since Rust 1.85 `unpredictable_function_pointer_comparisons` warns on
`PartialEq` derives over function pointers, and the SDK builds with
`#![deny(warnings)]`. bindgen derives `PartialEq` on system header structs
such as `__darwin_pthread_handler_rec`, so the SDK no longer compiles on
macOS with Rust 1.93.1.

Allow the lint on the generated `abi` module, as main does since envoyproxy#48201.

Signed-off-by: Ryan Northey <[email protected]>
phlax added a commit to phlax/envoy that referenced this pull request Nov 12, 2026
…module

Rust 1.93 clippy flags `is_some()` + `unwrap()` under `-Dwarnings`; use `if let` as main does
(from envoyproxy#48201).

Signed-off-by: Ryan Northey <[email protected]>
phlax added a commit to phlax/envoy that referenced this pull request Nov 12, 2026
`cloned_ref_to_slice_refs` in cluster_integration_test.rs and `unnecessary_unwrap` in
http_integration_test.rs, plus the explicit `#[link(wasm_import_module)]` on the wasm test
module's extern block, as on main (envoyproxy#48201).

Signed-off-by: Ryan Northey <[email protected]>
phlax added a commit to phlax/envoy that referenced this pull request Nov 12, 2026
…indings

Since Rust 1.85 `unpredictable_function_pointer_comparisons` warns on
`PartialEq` derives over function pointers, and the SDK builds with
`#![deny(warnings)]`. bindgen derives `PartialEq` on system header structs
such as `__darwin_pthread_handler_rec`, so the SDK no longer compiles on
macOS with Rust 1.93.1.

Allow the lint on the generated `abi` module, as main does since envoyproxy#48201.

Signed-off-by: Ryan Northey <[email protected]>
phlax added a commit to phlax/envoy that referenced this pull request Nov 12, 2026
…module

Rust 1.93 clippy flags `is_some()` + `unwrap()` under `-Dwarnings`; use `if let` as main does
(from envoyproxy#48201).

Signed-off-by: Ryan Northey <[email protected]>
phlax added a commit to phlax/envoy that referenced this pull request Nov 12, 2026
`cloned_ref_to_slice_refs` in cluster_integration_test.rs and `unnecessary_unwrap` in
http_integration_test.rs, plus the explicit `#[link(wasm_import_module)]` on the wasm test
module's extern block, as on main (envoyproxy#48201).

Signed-off-by: Ryan Northey <[email protected]>
phlax added a commit to phlax/envoy that referenced this pull request Nov 13, 2026
…module

Rust 1.93 clippy flags `is_some()` + `unwrap()` under `-Dwarnings`; use `if let` as main does
(from envoyproxy#48201).

Signed-off-by: Ryan Northey <[email protected]>
phlax added a commit to phlax/envoy that referenced this pull request Nov 13, 2026
`cloned_ref_to_slice_refs` in cluster_integration_test.rs and `unnecessary_unwrap` in
http_integration_test.rs, plus the explicit `#[link(wasm_import_module)]` on the wasm test
module's extern block, as on main (envoyproxy#48201).

Signed-off-by: Ryan Northey <[email protected]>
phlax added a commit to phlax/envoy that referenced this pull request Nov 13, 2026
…indings

Since Rust 1.85 `unpredictable_function_pointer_comparisons` warns on
`PartialEq` derives over function pointers, and the SDK builds with
`#![deny(warnings)]`. bindgen derives `PartialEq` on system header structs
such as `__darwin_pthread_handler_rec`, so the SDK no longer compiles on
macOS with Rust 1.93.1.

Allow the lint on the generated `abi` module, as main does since envoyproxy#48201.

Signed-off-by: Ryan Northey <[email protected]>
phlax added a commit to phlax/envoy that referenced this pull request Nov 13, 2026
…module

Rust 1.93 clippy flags `is_some()` + `unwrap()` under `-Dwarnings`; use `if let` as main does
(from envoyproxy#48201).

Signed-off-by: Ryan Northey <[email protected]>
phlax added a commit to phlax/envoy that referenced this pull request Nov 13, 2026
`cloned_ref_to_slice_refs` in cluster_integration_test.rs and `unnecessary_unwrap` in
http_integration_test.rs, plus the explicit `#[link(wasm_import_module)]` on the wasm test
module's extern block, as on main (envoyproxy#48201).

Signed-off-by: Ryan Northey <[email protected]>
phlax added a commit to phlax/envoy that referenced this pull request Nov 13, 2026
…indings

Since Rust 1.85 `unpredictable_function_pointer_comparisons` warns on
`PartialEq` derives over function pointers, and the SDK builds with
`#![deny(warnings)]`. bindgen derives `PartialEq` on system header structs
such as `__darwin_pthread_handler_rec`, so the SDK no longer compiles on
macOS with Rust 1.93.1.

Allow the lint on the generated `abi` module, as main does since envoyproxy#48201.

Signed-off-by: Ryan Northey <[email protected]>
phlax added a commit to phlax/envoy that referenced this pull request Nov 16, 2026
…module

Rust 1.93 clippy flags `is_some()` + `unwrap()` under `-Dwarnings`; use `if let` as main does
(from envoyproxy#48201).

Signed-off-by: Ryan Northey <[email protected]>
phlax added a commit to phlax/envoy that referenced this pull request Nov 16, 2026
`cloned_ref_to_slice_refs` in cluster_integration_test.rs and `unnecessary_unwrap` in
http_integration_test.rs, plus the explicit `#[link(wasm_import_module)]` on the wasm test
module's extern block, as on main (envoyproxy#48201).

Signed-off-by: Ryan Northey <[email protected]>
phlax added a commit to phlax/envoy that referenced this pull request Nov 16, 2026
…indings

Since Rust 1.85 `unpredictable_function_pointer_comparisons` warns on
`PartialEq` derives over function pointers, and the SDK builds with
`#![deny(warnings)]`. bindgen derives `PartialEq` on system header structs
such as `__darwin_pthread_handler_rec`, so the SDK no longer compiles on
macOS with Rust 1.93.1.

Allow the lint on the generated `abi` module, as main does since envoyproxy#48201.

Signed-off-by: Ryan Northey <[email protected]>
phlax added a commit to phlax/envoy that referenced this pull request Nov 16, 2026
…module

Rust 1.93 clippy flags `is_some()` + `unwrap()` under `-Dwarnings`; use `if let` as main does
(from envoyproxy#48201).

Signed-off-by: Ryan Northey <[email protected]>
phlax added a commit to phlax/envoy that referenced this pull request Nov 16, 2026
`cloned_ref_to_slice_refs` in cluster_integration_test.rs and `unnecessary_unwrap` in
http_integration_test.rs, plus the explicit `#[link(wasm_import_module)]` on the wasm test
module's extern block, as on main (envoyproxy#48201).

Signed-off-by: Ryan Northey <[email protected]>
phlax added a commit to phlax/envoy that referenced this pull request Nov 16, 2026
…indings

Since Rust 1.85 `unpredictable_function_pointer_comparisons` warns on
`PartialEq` derives over function pointers, and the SDK builds with
`#![deny(warnings)]`. bindgen derives `PartialEq` on system header structs
such as `__darwin_pthread_handler_rec`, so the SDK no longer compiles on
macOS with Rust 1.93.1.

Allow the lint on the generated `abi` module, as main does since envoyproxy#48201.

Signed-off-by: Ryan Northey <[email protected]>
phlax added a commit to phlax/envoy that referenced this pull request Nov 16, 2026
…module

Rust 1.93 clippy flags `is_some()` + `unwrap()` under `-Dwarnings`; use `if let` as main does
(from envoyproxy#48201).

Signed-off-by: Ryan Northey <[email protected]>
phlax added a commit to phlax/envoy that referenced this pull request Nov 16, 2026
`cloned_ref_to_slice_refs` in cluster_integration_test.rs and `unnecessary_unwrap` in
http_integration_test.rs, plus the explicit `#[link(wasm_import_module)]` on the wasm test
module's extern block, as on main (envoyproxy#48201).

Signed-off-by: Ryan Northey <[email protected]>
phlax added a commit to phlax/envoy that referenced this pull request Nov 16, 2026
…indings

Since Rust 1.85 `unpredictable_function_pointer_comparisons` warns on
`PartialEq` derives over function pointers, and the SDK builds with
`#![deny(warnings)]`. bindgen derives `PartialEq` on system header structs
such as `__darwin_pthread_handler_rec`, so the SDK no longer compiles on
macOS with Rust 1.93.1.

Allow the lint on the generated `abi` module, as main does since envoyproxy#48201.

Signed-off-by: Ryan Northey <[email protected]>
phlax added a commit to phlax/envoy that referenced this pull request Nov 17, 2026
…module

Rust 1.93 clippy flags `is_some()` + `unwrap()` under `-Dwarnings`; use `if let` as main does
(from envoyproxy#48201).

Signed-off-by: Ryan Northey <[email protected]>
phlax added a commit to phlax/envoy that referenced this pull request Nov 17, 2026
`cloned_ref_to_slice_refs` in cluster_integration_test.rs and `unnecessary_unwrap` in
http_integration_test.rs, plus the explicit `#[link(wasm_import_module)]` on the wasm test
module's extern block, as on main (envoyproxy#48201).

Signed-off-by: Ryan Northey <[email protected]>
phlax added a commit to phlax/envoy that referenced this pull request Nov 17, 2026
…indings

Since Rust 1.85 `unpredictable_function_pointer_comparisons` warns on
`PartialEq` derives over function pointers, and the SDK builds with
`#![deny(warnings)]`. bindgen derives `PartialEq` on system header structs
such as `__darwin_pthread_handler_rec`, so the SDK no longer compiles on
macOS with Rust 1.93.1.

Allow the lint on the generated `abi` module, as main does since envoyproxy#48201.

Signed-off-by: Ryan Northey <[email protected]>
phlax added a commit to phlax/envoy that referenced this pull request Nov 17, 2026
…module

Rust 1.93 clippy flags `is_some()` + `unwrap()` under `-Dwarnings`; use `if let` as main does
(from envoyproxy#48201).

Signed-off-by: Ryan Northey <[email protected]>
phlax added a commit to phlax/envoy that referenced this pull request Nov 17, 2026
`cloned_ref_to_slice_refs` in cluster_integration_test.rs and `unnecessary_unwrap` in
http_integration_test.rs, plus the explicit `#[link(wasm_import_module)]` on the wasm test
module's extern block, as on main (envoyproxy#48201).

Signed-off-by: Ryan Northey <[email protected]>
phlax added a commit to phlax/envoy that referenced this pull request Nov 17, 2026
…indings

Since Rust 1.85 `unpredictable_function_pointer_comparisons` warns on
`PartialEq` derives over function pointers, and the SDK builds with
`#![deny(warnings)]`. bindgen derives `PartialEq` on system header structs
such as `__darwin_pthread_handler_rec`, so the SDK no longer compiles on
macOS with Rust 1.93.1.

Allow the lint on the generated `abi` module, as main does since envoyproxy#48201.

Signed-off-by: Ryan Northey <[email protected]>
phlax added a commit to phlax/envoy that referenced this pull request Nov 17, 2026
…module

Rust 1.93 clippy flags `is_some()` + `unwrap()` under `-Dwarnings`; use `if let` as main does
(from envoyproxy#48201).

Signed-off-by: Ryan Northey <[email protected]>
phlax added a commit to phlax/envoy that referenced this pull request Nov 17, 2026
`cloned_ref_to_slice_refs` in cluster_integration_test.rs and `unnecessary_unwrap` in
http_integration_test.rs, plus the explicit `#[link(wasm_import_module)]` on the wasm test
module's extern block, as on main (envoyproxy#48201).

Signed-off-by: Ryan Northey <[email protected]>
phlax added a commit to phlax/envoy that referenced this pull request Nov 17, 2026
…indings

Since Rust 1.85 `unpredictable_function_pointer_comparisons` warns on
`PartialEq` derives over function pointers, and the SDK builds with
`#![deny(warnings)]`. bindgen derives `PartialEq` on system header structs
such as `__darwin_pthread_handler_rec`, so the SDK no longer compiles on
macOS with Rust 1.93.1.

Allow the lint on the generated `abi` module, as main does since envoyproxy#48201.

Signed-off-by: Ryan Northey <[email protected]>
phlax added a commit that referenced this pull request Nov 17, 2026
…module

Rust 1.93 clippy flags `is_some()` + `unwrap()` under `-Dwarnings`; use `if let` as main does
(from #48201).

Signed-off-by: Ryan Northey <[email protected]>
phlax added a commit that referenced this pull request Nov 17, 2026
`cloned_ref_to_slice_refs` in cluster_integration_test.rs and `unnecessary_unwrap` in
http_integration_test.rs, plus the explicit `#[link(wasm_import_module)]` on the wasm test
module's extern block, as on main (#48201).

Signed-off-by: Ryan Northey <[email protected]>
phlax added a commit that referenced this pull request Nov 17, 2026
…indings

Since Rust 1.85 `unpredictable_function_pointer_comparisons` warns on
`PartialEq` derives over function pointers, and the SDK builds with
`#![deny(warnings)]`. bindgen derives `PartialEq` on system header structs
such as `__darwin_pthread_handler_rec`, so the SDK no longer compiles on
macOS with Rust 1.93.1.

Allow the lint on the generated `abi` module, as main does since #48201.

Signed-off-by: Ryan Northey <[email protected]>
phlax added a commit to phlax/envoy that referenced this pull request Nov 18, 2026
…module

Rust 1.93 clippy flags `is_some()` + `unwrap()` under `-Dwarnings`; use `if let` as main does
(from envoyproxy#48201).

Signed-off-by: Ryan Northey <[email protected]>
phlax added a commit to phlax/envoy that referenced this pull request Nov 18, 2026
`cloned_ref_to_slice_refs` in cluster_integration_test.rs and `unnecessary_unwrap` in
http_integration_test.rs, plus the explicit `#[link(wasm_import_module)]` on the wasm test
module's extern block, as on main (envoyproxy#48201).

Signed-off-by: Ryan Northey <[email protected]>
phlax added a commit to phlax/envoy that referenced this pull request Nov 18, 2026
…indings

Since Rust 1.85 `unpredictable_function_pointer_comparisons` warns on
`PartialEq` derives over function pointers, and the SDK builds with
`#![deny(warnings)]`. bindgen derives `PartialEq` on system header structs
such as `__darwin_pthread_handler_rec`, so the SDK no longer compiles on
macOS with Rust 1.93.1.

Allow the lint on the generated `abi` module, as main does since envoyproxy#48201.

Signed-off-by: Ryan Northey <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants