microsoft / windows-rs

Rust for Windows
https://kennykerr.ca/rust-getting-started/
Apache License 2.0
10.1k stars 473 forks source link

Harden detection of missing nested types #3099

Closed kennykerr closed 3 weeks ago

kennykerr commented 3 weeks ago

While testing some early metadata, I noticed that the metadata reader doesn't always handle missing types gracefully. This covers a new edge case discovered here: https://github.com/microsoft/win32metadata/issues/1925