Skip to content

streams_events.rs module doc-comment still lists "validator" after its FFI declarations were removed #10726

Description

@proggeramlug

Cosmetic, one line, filed so it doesn't become folklore.

crates/perry-codegen/src/runtime_decls/stdlib_ffi/streams_events.rs's module doc-comment (line 2) still lists
"validator" in its summary of what the module declares, although the validator FFI declarations were removed.

This predates PR #10690's rebase — it was already true in that PR's original commit — so it was deliberately left
alone there rather than widening the diff, since fixing it inside a rebase would have made the diff misrepresent
what the rebase did.

Worth sweeping the same file for other stale names as the binding-removal campaign continues: several removals
have now taken FFI declarations out of shared stdlib_ffi modules without updating the prose at the top, and a
doc-comment that lists packages which no longer exist is the kind of thing that quietly misleads someone grepping
for where a binding lives.

Context: part of the work removing Perry's hand-written Rust reimplementations of npm packages in favour of
compiling the real ones.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    package-auditFound by the 2026 package audit: compiling real npm packages from source instead of native bindings

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions