Skip to content

docs: New C host files use hosts/<os>/ or *-host-<os>.c - #1207

Merged
zackees merged 1 commit into
masterfrom
docs/hosts-naming
Oct 17, 2026
Merged

zackees merged 1 commit into
masterfrom
docs/hosts-naming

Conversation

@zackees

@zackees zackees commented Oct 17, 2026

Copy link
Copy Markdown
Member

Refs #1009.

AGENTS.md said C/C++ host code lives in OS-named files but not how to name new ones, so agents had no rule to follow. The policy (#1009, confirmed by the maintainer on 2026-10-17, overriding the "no platform → hosts rename" wording in #1051's plan text) is hosts/<os>/ folders or *-host-<os>.c files, <os> one of windows, macos, linux, posix. Upstream files keep their names (#1051). One sentence added; docs only; ./lint rc 0.

AGENTS.md said host code lives in OS-named files but not how to name new
ones. The policy (#1009, confirmed 2026-10-17) is hosts/<os>/ folders or
*-host-<os>.c files with <os> one of windows, macos, linux, posix;
upstream files keep their names.

Refs #1009
@zackees
zackees added this pull request to the merge queue Oct 17, 2026
Merged via the queue into master with commit b47ff62 Oct 17, 2026
29 checks passed
@zackees
zackees deleted the docs/hosts-naming branch October 26, 2026 15:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

1 participant