Summary
We should run the TypeSpec Rust emitter against all existing TypeSpec specification files to validate emitter correctness, identify unsupported features, and catch codegen failures early. This includes:
Goals
- Identify gaps — Catalog which specs the emitter can successfully generate code for and which fail
- Categorize failures — Classify failures by root cause (unsupported features, codegen bugs, TCGC issues, etc.)
- Track coverage — Establish a baseline of emitter coverage across the full spec surface
- Prevent regressions — Once a spec successfully generates, ensure it continues to do so
Acceptance Criteria
Notes
- Some specs may fail due to known unsupported features (e.g., non-discriminated unions per #969 in the adapter). These should be cataloged, not necessarily fixed as part of this work.
- Consider automating this as a periodic CI job once the initial pass is complete.
Summary
We should run the TypeSpec Rust emitter against all existing TypeSpec specification files to validate emitter correctness, identify unsupported features, and catch codegen failures early. This includes:
Goals
Acceptance Criteria
azure-rest-api-specsand record resultscargo check) for all successful specsNotes