Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions quest/m3/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
20 changes: 20 additions & 0 deletions quest/m3/ts-tsrs.md
Original file line number Diff line number Diff line change
@@ -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.