Repository navigation
docs: name wasm64 in time_compat docs - #2962
Conversation
Follow-up to #2959, which widened the time_compat cfgs to target_family = "wasm" but left the docs saying wasm32 only.
There was a problem hiding this comment.
Docs-only fix looks correct: the cfgs in mod.rs are already target_family = "wasm" + target_os = "unknown", so naming wasm{32,64}-unknown-unknown matches the code and closes the stale-doc gap from #2959. One consistency follow-up below (sibling file still says wasm32-only).
Comments outside the diff
crates/bashkit/src/time_compat/host_clock.rs line 1: [P2] Same stale wasm32-only wording lives on in the sibling module docs (crates/bashkit/src/time_compat/host_clock.rs:1,3: "Clock for non-JS wasm32-unknown-unknown embedders" / "on wasm32-unknown-unknown bashkit's default clock is"). Since host_clock is gated on target_family = "wasm" + target_os = "unknown" (mod.rs:21-33), it serves wasm64-unknown-unknown too, so consider applying the same wasm{32,64}-unknown-unknown wording there for consistency.
Review summary (head
|
|
Addressed in e977c0f: Generated by Claude Code |
Deploying with
|
| Status | Name | Latest Commit | Preview URL | Updated (UTC) |
|---|---|---|---|---|
| ✅ Deployment successful! View logs |
bashkit | e1ff721 | Commit Preview URL Branch Preview URL |
Nov 20 2026, 08:59 PM |
Requested by Михайло · project thread
What changed
The
time_compatmodule docs now namewasm{32,64}-unknown-unknowninstead of onlywasm32-unknown-unknown.Why
#2959 widened the
time_compatcfgs totarget_family = "wasm", but the docs still said wasm32 only, so a reader could concludewasm64-unknown-unknownhas a workingstd::time. This addresses the review-bot finding left open on #2959.Before / After
Doc comments only; no behavior change.
Risk
Checklist
Generated by Claude Code
Open in [code]smith · Need help on this PR? Tag
@codesmith-botwith what you need.