Define complete Rust API mapping schema
This commit is contained in:
@@ -15,13 +15,15 @@ The source snapshot, compatibility rules, dependency research, and ordered
|
||||
implementation plan are in [RUSTREWRITE.md](RUSTREWRITE.md).
|
||||
|
||||
The authoritative compiled .NET surface is checked in as
|
||||
[`api/public-api.json`](api/public-api.json); [`api/README.md`](api/README.md)
|
||||
documents deterministic regeneration and the external types that must be
|
||||
mapped to native Rust equivalents.
|
||||
[`api/public-api.json`](api/public-api.json). Every type and member has a
|
||||
reviewed Rust destination in [`api/RUST-TYPES.tsv`](api/RUST-TYPES.tsv) and
|
||||
[`api/RUST-MAPPING.tsv`](api/RUST-MAPPING.tsv); [`api/README.md`](api/README.md)
|
||||
documents deterministic regeneration and validation.
|
||||
|
||||
```sh
|
||||
cargo build --workspace
|
||||
cargo test --workspace --no-run
|
||||
python3 tools/generate_rust_mapping.py --check
|
||||
```
|
||||
|
||||
Running `cargo test --workspace` is intentionally red during the shim stage.
|
||||
|
||||
Reference in New Issue
Block a user