Skip to content

fix: track core v2.5.8 — drop now-public poll declarations - #3

Merged
singaraiona merged 1 commit into
masterfrom
fix/track-v2.5.8-public-poll-api
Aug 4, 2026
Merged

fix: track core v2.5.8 — drop now-public poll declarations#3
singaraiona merged 1 commit into
masterfrom
fix/track-v2.5.8-public-poll-api

Conversation

@birrgrrim

Copy link
Copy Markdown
Collaborator

Core v2.5.8 exports the poll object API (ray_poll_create, ray_runtime_get_poll, ray_runtime_set_poll) from the public rayforce.h. wrapper.h still hand-declared all three, and bindgen now fails on ray_poll_create — the public header types it ray_poll_t* where wrapper.h had void*, and the two conflict.

Drop the three hand-declarations (they are redundant with the public header) and bump the pinned RAYFORCE_REF from v2.5.1 to v2.5.8 so a fresh crates.io build clones a core that actually exports them.

ray_poll_create now binds as ray_poll_t* rather than void*, so ensure_poll casts the handle on the way into ray_runtime_set_poll, which still takes void*.

Verified: cargo build + cargo test green against a local v2.5.8 checkout, and the embedding consumer (landing) builds and its scenario suite passes.

Core v2.5.8 exports the poll object API (ray_poll_create,
ray_runtime_get_poll, ray_runtime_set_poll) from the public
rayforce.h. wrapper.h still hand-declared all three, and bindgen now
fails on ray_poll_create — the public header types it ray_poll_t*
where wrapper.h had void*, and the two conflict.

Drop the three hand-declarations (they are redundant with the public
header) and bump the pinned RAYFORCE_REF from v2.5.1 to v2.5.8 so a
fresh crates.io build clones a core that actually exports them.

ray_poll_create now binds as ray_poll_t* rather than void*, so
ensure_poll casts the handle on the way into ray_runtime_set_poll,
which still takes void*.

Verified: cargo build + cargo test green against a local v2.5.8
checkout, and the embedding consumer (landing) builds and its
scenario suite passes.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@singaraiona
singaraiona merged commit c0a0bcc into master Aug 4, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants