Charlie Marsh and Codex
7c9731c9af
Enable --deny-warnings for cargo shear ( #21616 )
...
## Summary
In https://github.com/openai/codex/pull/21584 , we disabled doctests for
crates that lack any doctests. We can enforce that property via `cargo
shear --deny-warnings`: crates that lack doctests will be flagged if
doctests are enabled, and crates with doctests will be flagged if
doctests are disabled.
A few additional notes:
- By adding `--deny-warnings`, `cargo shear` also flagged a number of
modules that were not reachable at all. Some of those have been removed.
- This PR removes a usage of `windows_modules!` (since `cargo shear` and
`rustfmt` couldn't see through it) in favor of simple `#[cfg(target_os =
"windows")]` macros. As a consequence, many of these files exhibit churn
in this PR, since they weren't being formatted by `rustfmt` at all on
main.
- Again, to make the code more analyzable, this PR also removes some
usages of `#[path = "cwd_junction.rs"]` in favor of a more standard
module structure. The bin sidecar structure is still retained, but,
e.g., `windows-sandbox-rs/src/bin/command_runner.rs` was moved to
`windows-sandbox-rs/src/bin/command_runner/main.rs`, and so on.
---------
Co-authored-by: Codex <noreply@openai.com >
2026-05-08 20:29:00 +00:00
..
2026-05-08 00:02:46 +00:00
2026-04-21 10:22:36 -07:00
2026-04-07 00:32:41 +00:00
2026-05-08 20:09:51 +03:00
2026-05-06 19:54:26 +00:00
2026-05-06 19:54:26 +00:00
2026-05-07 20:31:41 -07:00
2026-05-07 10:16:10 -07:00
2026-04-26 22:11:49 -07:00
2026-05-08 12:36:02 -07:00
2026-05-08 12:36:02 -07:00
2026-05-04 22:33:20 +00:00
2026-05-08 20:29:00 +00:00
2026-05-08 12:17:48 -07:00
2026-03-24 18:10:53 -07:00
2026-04-24 17:49:29 -07:00
2026-04-26 15:10:53 -07:00
2026-04-07 21:20:22 +00:00
2026-05-07 11:33:47 +02:00
2026-05-01 22:11:06 +00:00
2026-05-04 14:15:01 +02:00
2026-05-08 12:36:02 -07:00
2026-04-21 15:37:12 -07:00
2026-04-27 21:58:29 +00:00
2026-05-08 12:36:02 -07:00
2026-05-08 12:36:02 -07:00
2026-05-07 20:31:41 -07:00
2026-05-08 12:36:02 -07:00
2026-05-07 19:22:04 +02:00
2026-03-12 08:16:36 -07:00
2026-04-01 23:06:24 -07:00
2026-03-27 19:00:44 -07:00
2026-03-12 08:16:36 -07:00
2026-05-07 19:57:36 -07:00
2026-05-08 11:15:14 +03:00
2026-05-08 11:15:14 +03:00
2026-05-06 18:08:31 -07:00
2026-05-01 17:46:02 +02:00
2026-05-07 10:16:10 -07:00
2026-05-08 11:17:56 -07:00
2026-03-12 00:35:21 -07:00
2026-05-08 11:17:56 -07:00
2026-04-26 17:18:09 -07:00
2026-04-20 22:39:17 -07:00
2026-04-26 15:10:53 -07:00
2026-04-26 15:10:53 -07:00
2026-05-01 01:05:02 +00:00
2026-05-01 00:56:20 +00:00
2026-05-01 01:05:02 +00:00
2026-04-29 19:13:57 +00:00
2026-04-29 19:13:57 +00:00
2026-04-20 11:23:00 +01:00
2026-04-20 11:23:00 +01:00
2026-04-17 00:51:21 +00:00
2026-05-06 22:48:29 -07:00
2026-05-06 18:08:31 -07:00
2026-04-28 13:03:28 +02:00
2026-04-28 19:43:44 -07:00
2026-05-08 12:36:02 -07:00
2026-04-23 17:14:02 -07:00
2026-05-07 10:36:32 +02:00
2026-03-27 19:00:44 -07:00
2026-05-06 19:42:45 +00:00
2026-05-07 10:16:10 -07:00
2026-05-07 10:16:10 -07:00
2026-05-07 10:16:10 -07:00
2026-05-07 10:36:32 +02:00
2026-05-08 12:17:48 -07:00
2026-03-25 11:05:35 -07:00
2026-04-02 23:00:02 -07:00
2026-04-09 10:53:06 -07:00
2026-03-27 19:00:44 -07:00
2026-04-27 03:18:57 +00:00
2026-04-24 17:49:29 -07:00
2026-05-07 16:06:57 -07:00
2026-05-06 22:48:29 -07:00
2026-05-06 22:48:29 -07:00
2026-05-08 12:36:02 -07:00
2026-05-06 02:12:31 +00:00
2026-04-23 10:17:09 -07:00
2026-04-20 14:04:09 -07:00
2026-05-04 22:28:14 +00:00
2026-04-16 14:30:57 -07:00
2026-04-01 23:06:24 -07:00
2026-04-14 14:26:10 -07:00
2026-05-05 15:25:19 -07:00
2026-04-27 13:41:27 -07:00
2026-05-07 11:33:47 +02:00
2026-04-26 13:29:54 -07:00
2026-04-26 13:29:54 -07:00
2026-04-20 22:39:17 -07:00
2026-04-03 00:33:34 -07:00
2026-05-06 18:00:21 +03:00
2026-02-10 17:03:46 -08:00
2026-05-04 11:46:03 -07:00
2026-05-04 11:46:03 -07:00
2026-03-27 19:00:44 -07:00
2026-04-02 13:47:10 -07:00
2026-05-07 02:24:20 +00:00
2026-05-04 20:36:29 -07:00
2026-04-14 14:26:10 -07:00
2026-05-04 11:46:03 -07:00
2026-04-26 17:18:09 -07:00
2026-05-08 12:17:48 -07:00
2026-05-06 22:48:29 -07:00
2026-05-08 12:36:02 -07:00
2026-05-08 12:36:02 -07:00
2026-04-26 17:18:09 -07:00
2026-04-13 23:11:49 -07:00
2026-05-07 18:05:45 +02:00
2026-05-07 18:05:45 +02:00
2026-05-06 11:36:15 +02:00
2026-05-06 11:36:15 +02:00
2026-04-28 16:36:59 +00:00
2026-05-04 22:33:20 +00:00
2026-05-08 12:17:48 -07:00
2026-04-20 22:39:17 -07:00
2026-04-20 22:39:17 -07:00
2026-04-20 10:27:01 -07:00
2026-04-03 00:33:34 -07:00
2026-01-30 16:37:56 -08:00
2026-04-01 23:06:24 -07:00
2026-04-01 23:06:24 -07:00
2026-04-08 08:42:18 -07:00
2026-04-08 08:42:18 -07:00