From fdd72e9cd9a952e14bc123d2c8cd13d950c1928a Mon Sep 17 00:00:00 2001 From: "Adam Perry @ OpenAI" Date: Fri, 12 Jun 2026 16:25:58 -0700 Subject: [PATCH] Specify platform support in AGENTS.md (#27966) Codex seems to do interesting things with `cfg`'s sometimes and it seems it would be good to give it guidance about how broadly our Rust needs to work. This adds a very brief section to AGENTS.md explaining that we target the major desktop OSes and that we want the vast majority of our logic to be portable across them. --- AGENTS.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/AGENTS.md b/AGENTS.md index 016b80205..76eca3bc3 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -297,3 +297,7 @@ This project uses Python 3+. You should not use the `__future__` module. If you need to worry about feature compatibility between different 3.xx point releases, check the closest `pyproject.toml`'s `requires-python` field to see what minimum runtime version is supported. + +## Platform Support + +Tests and features must support Linux, macOS and Windows unless feature is explicitly OS-specific.