From 73a86688a51333cd3749cd6213afc3b0e6b6d40a Mon Sep 17 00:00:00 2001 From: Michael Bolin Date: Fri, 17 Apr 2026 16:48:18 -0700 Subject: [PATCH] chore: enable await-holding clippy lints Follow-up to https://github.com/openai/codex/pull/18178, where we said the await-holding clippy rule would be enabled separately. Enable `await_holding_lock` and `await_holding_invalid_type` after the preceding commits fixed or explicitly documented the current offenders. --- codex-rs/Cargo.toml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/codex-rs/Cargo.toml b/codex-rs/Cargo.toml index ed6bdc0fd6..32e57be954 100644 --- a/codex-rs/Cargo.toml +++ b/codex-rs/Cargo.toml @@ -379,6 +379,8 @@ zeroize = "1.8.2" rust = {} [workspace.lints.clippy] +await_holding_invalid_type = "deny" +await_holding_lock = "deny" expect_used = "deny" identity_op = "deny" manual_clamp = "deny"