Fix release-mode integration test compiler failure (#13603)

Addresses #13586

This doesn't affect our CI scripts. It was user-reported.

Summary
- add `wiremock::ResponseTemplate` and `body_string_contains` imports
behind `#[cfg(not(debug_assertions))]` in
`codex-rs/core/tests/suite/view_image.rs` so release builds only pull
the helpers they actually use
This commit is contained in:
Eric Traut
2026-03-10 08:30:56 -06:00
committed by Michael Bolin
parent f3f47cf455
commit 7144f84c69

View File

@@ -41,6 +41,10 @@ use serde_json::Value;
use tokio::time::Duration;
use wiremock::BodyPrintLimit;
use wiremock::MockServer;
#[cfg(not(debug_assertions))]
use wiremock::ResponseTemplate;
#[cfg(not(debug_assertions))]
use wiremock::matchers::body_string_contains;
fn image_messages(body: &Value) -> Vec<&Value> {
body.get("input")