diff --git a/quest/m3/README.md b/quest/m3/README.md index 55fd3c390..5a8e4f81c 100644 --- a/quest/m3/README.md +++ b/quest/m3/README.md @@ -18,3 +18,4 @@ generic std gap is planned here even when moq never calls it. - [Unsafe code the translator can model](/quest/m3/ts-unsafe.md) - a dependency using only `unsafe` the translator can model translates from source - [The rest of Duration](/quest/m3/ts-duration.md) - compound assignment, float conversions, and `Sum` on a `Duration` translate - [The rest of format specs](/quest/m3/ts-fmt-specs.md) - precision, argument widths, `+`, and the other radixes format as `core::fmt` does +- [Waiting: type-check in process with tsrs](/quest/m3/ts-tsrs.md) - rust2-ts checks bindings through tsrs instead of `tsc` once it is a stable library diff --git a/quest/m3/ts-tsrs.md b/quest/m3/ts-tsrs.md new file mode 100644 index 000000000..4576fb951 --- /dev/null +++ b/quest/m3/ts-tsrs.md @@ -0,0 +1,20 @@ +# [S] Waiting: type-check in process with tsrs + +## Goal + +Condition: [tsrs](https://blog.cloudflare.com/typescript-rust-port/), the Rust port of +TypeScript, publishes a stable release usable as a Rust library. Then rust2-ts +type-checks bindings in process through it, with no `tsc` on `PATH`, failing at the +Rust item's span as today, and measures the translation's time against running `tsc`. +Check: tsrs's releases, and whether it ships a crate (it is moving into Oxc). + +## Plan + +Decided with the maintainer on 2026-10-27, on +[the bindings PR](https://github.com/kixelated/rust2/pull/127): translation runs the +flake's `tsc` 7 for now. tsrs was experimental then, and its reported speed over +TypeScript 7 is the vendor's own. + +- Its checks must agree with `tsc`'s on every fixture, or the switch waits. + +Public API: none, unless the translator drops its `tsc` requirement.