diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2024-02-15 09:20:17 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-02-15 09:20:17 +0100 |
| commit | 09776009eaa0ea4eeabd4d5ee4f76981a16b48ea (patch) | |
| tree | 63cfd8a03405e1c3dc84a264a806b9bc4878f7de /compiler/rustc_resolve/src | |
| parent | 0238d2619fbc99dd707f2761029fc4266617e0a1 (diff) | |
| parent | 846315ddc95fbe02841c88c540e85f60cb670230 (diff) | |
| download | rust-09776009eaa0ea4eeabd4d5ee4f76981a16b48ea.tar.gz rust-09776009eaa0ea4eeabd4d5ee4f76981a16b48ea.zip | |
Rollup merge of #118749 - ChrisDenton:winsys, r=cuviper
Make contributing to windows bindings easier This PR does three things: - Automatically sorts bindings so contributors don't have to. I should have done this to begin with but was lazy. - Renames `windows_sys.lst` to `bindings.txt`. This [matches the windows-rs repository](https://github.com/microsoft/windows-rs/blob/8e71051ea8a57594478e585d2740126893f9dbb7/crates/tools/sys/bindings.txt) (and repos that copy it). I believe consistency with other projects helps get people orientated. - Adds a `README.md` file explaining what this is about and how to add bindings. This has the benefit of being directly editable and it's rendered when viewed online. Also people are understandably jumping right into the `windows_sys.rs` file via ripgrep or github search and so missing that it's generated. A `README.md` alongside it is at least slightly more obvious in that case. There is still a small note at the top of `windows_sys` in case people do read from the beginning. None of this has any impact on the actual code generated. It's purely to make the new contributors workflow a bit nicer.
Diffstat (limited to 'compiler/rustc_resolve/src')
0 files changed, 0 insertions, 0 deletions
