From 41ec1a4c6132accd578eac2f602cfec02087877d Mon Sep 17 00:00:00 2001 From: Justin Chu Date: Fri, 21 Aug 2026 10:57:17 +0000 Subject: [PATCH] style: reorder one re-export #1648 left unsorted on main `cargo fmt --all -- --check` fails on an unmodified `origin/main` (90ddd284e): crates/onnx-runtime-session/src/lib.rs:38 `pub use onnx_runtime_ep_api::DeviceGraphSlot;` was added above the existing `WorkspaceRequirement` re-export instead of in sorted order. One-line swap, pure `cargo fmt --all` output. Formatting is a required check, so this blocks every open PR. This is the fourth main-is-red repair today (#1640, #1642, #1649, this one). The pattern is consistent: quality gates are being evaluated on PR branches before merge but not on the merge result, so each merge can and does land violations that then fail whoever opens the next PR. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --- crates/onnx-runtime-session/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/onnx-runtime-session/src/lib.rs b/crates/onnx-runtime-session/src/lib.rs index e8ab27ec11..4da48545b8 100644 --- a/crates/onnx-runtime-session/src/lib.rs +++ b/crates/onnx-runtime-session/src/lib.rs @@ -38,8 +38,8 @@ pub use executor::{ exec_phase_stats, plan_double_buffer, print_exec_phase_profile, reset_dense_prefetch_gap_stats, reset_exec_phase_profile, }; -pub use onnx_runtime_ep_api::WorkspaceRequirement; pub use onnx_runtime_ep_api::DeviceGraphSlot; +pub use onnx_runtime_ep_api::WorkspaceRequirement; pub use onnx_runtime_loader::{ EpContextDumpConfig, EpContextPartition, Model as EncoderModel, ModelMetadata, };