microsoft / microsoft/windows-rs
`windows-rdl` overload attribute should be supported directly
- Dominant language
- Rust
- Stars
- 12.8k
- Forks
- 665
- Avg merge
- 7h 9m
- Merged PRs (30d)
- 70
Description
The WinRT metadata supports the `Overload` attribute that provides the non-overload name of an interface method. This has always been logically backward. While we cannot change the metadata, we can have RDL use the actual method names and use a special `#[overload(NAME)]` attribute that provides the name of the overload.
Contributor guide
Research direction
Start by locating the windows-rdl metadata handling for the WinRT Overload attribute and the logic that assigns interface method names. Confirm how RDL represents attributes, then make it support actual method names plus #[overload(NAME)]; done means the special attribute supplies the overload name without changing the metadata.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- tooling
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100