Generate Types and StructuredData API shims
This commit is contained in:
@@ -37,6 +37,8 @@ Regenerate or validate the Rust mapping with only Python's standard library:
|
||||
```sh
|
||||
python3 tools/generate_rust_mapping.py
|
||||
python3 tools/generate_rust_mapping.py --check
|
||||
python3 tools/generate_api_shims.py
|
||||
python3 tools/generate_api_shims.py --check
|
||||
```
|
||||
|
||||
The checker rejects duplicate C# IDs, duplicate Rust destinations, invalid
|
||||
@@ -48,3 +50,9 @@ fallbacks, and generated function bodies that do not use the standardized
|
||||
The two support traits in `RUST-TYPES.tsv` are included because compiled public
|
||||
inheritance records reference them even though they are absent from the public
|
||||
type table.
|
||||
|
||||
`generate_api_shims.py` consumes the catalog and reviewed mapping ledger. It
|
||||
currently owns the completed Types and StructuredData slices, formats their
|
||||
generated Rust deterministically, and rejects any missing or stale type/member
|
||||
documentation ID. `SHIM-COVERAGE.md` distinguishes callable slices from the
|
||||
remaining milestone work; mapping coverage alone is not callable coverage.
|
||||
|
||||
Reference in New Issue
Block a user