Skip to content

Give Windows its own platform crate rather than the unix one - #19

Merged
pathscale merged 1 commit into
masterfrom
fix/windows-gets-its-own-platform-crate
Sep 11, 2026
Merged

pathscale merged 1 commit into
masterfrom
fix/windows-gets-its-own-platform-crate

Conversation

@pathscale

@pathscale pathscale commented Sep 8, 2026 •

Copy link
Copy Markdown
Owner

WorkTablesIndex 0.0.14 selects ps-reclaim's platform dependency by target: libc on Unix and windows-sys on Windows. Previously concurrent unconditionally enabled libc, leaving Windows builds without the dependency needed by the no_std thread-local implementation.

The change is confined to dependency feature selection and the release version. Tree algorithms and concurrency behavior are unchanged. DataBucket 0.7 and WorkTable 1.9.0-alpha1 require this version for the coordinated release.

Release review validation: host library/tests with all features, package Clippy across all targets and features with warnings denied, publication dry run, and Windows GNU x64 library checking with defaults disabled and concurrent/cdc/multimap enabled passed. Publish 0.0.14 before DataBucket 0.7.

`concurrent` enabled `ps-reclaim/libc`, and a feature list is not per
target, so every target got the unix platform crate and Windows never
got `windows-sys`. The choice belongs in `cfg(unix)` and `cfg(windows)`
dependency sections, which is where arctic-wt#10 put the same mistake.

It only bites without `std`: `ps-reclaim` reaches for `windows-sys`
solely on its `no_std` thread-local path, so the default build was fine
and this stayed invisible. That path is the one this crate advertises,
its own feature comment saying `std` is meant to be turned off.

Checked as a library for x86_64-pc-windows-gnu, x86_64-unknown-linux-gnu
and aarch64-unknown-linux-musl, with and without `std`. 110 tests pass
on the host.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
@pathscale
pathscale merged commit 3cf4c17 into master Sep 11, 2026
2 of 3 checks passed
@pathscale
pathscale deleted the fix/windows-gets-its-own-platform-crate branch September 11, 2026 20:17
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.

1 participant