-
Notifications
You must be signed in to change notification settings - Fork 78
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Improve metadata annotations #38
Comments
Note that when generating custom metadata (link above), the There's a request to push the headers to this repo somewhere for convenient access, can the same be done for the (supposedly minimal) |
The winmd shipped with the NuGet package has an [indecisive license][1], as it's intended to fall under the MIT license just like other code files, but is strictly a binary blob. At the same time the metadata [isn't representing the headers as conveniently and completely][2] as we'd like in our Rust bindings, but unfortunately there is no upstream source available to reference or contribute to, where we can tweak and improve how the NuGet `winmd` is generated. The metadata description introduced here tries to reproduce the original metadata as closely as possible, while following the improvements [that I requested upstream][2] and [maintaining the `int` type for `DSTORAGE_DEBUG`][3]. [1]: microsoft/DirectStorage#8 (comment) [2]: microsoft/DirectStorage#38 [3]: microsoft/win32metadata#1822 (comment)
The winmd shipped with the NuGet package has an [indecisive license][1], as it's intended to fall under the MIT license just like other code files, but is strictly a binary blob. At the same time the metadata [isn't representing the headers as conveniently and completely][2] as we'd like in our Rust bindings, but unfortunately there is no upstream source available to reference or contribute to, where we can tweak and improve how the NuGet `winmd` is generated. The metadata description introduced here tries to reproduce the original metadata as closely as possible, while following the improvements [that I requested upstream][2] and [maintaining the `int` type for `DSTORAGE_DEBUG`][3]. [1]: microsoft/DirectStorage#8 (comment) [2]: microsoft/DirectStorage#38 [3]: microsoft/win32metadata#1822 (comment)
The winmd shipped with the NuGet package has an [indecisive license][1], as it's intended to fall under the MIT license just like other code files, but is strictly a binary blob. At the same time the metadata [isn't representing the headers as conveniently and completely][2] as we'd like in our Rust bindings, but unfortunately there is no upstream source available to reference or contribute to, where we can tweak and improve how the NuGet `winmd` is generated. The metadata description introduced here tries to reproduce the original metadata as closely as possible, while following the improvements [that I requested upstream][2] and [maintaining the `int` type for `DSTORAGE_DEBUG`][3]. [1]: microsoft/DirectStorage#8 (comment) [2]: microsoft/DirectStorage#38 [3]: microsoft/win32metadata#1822 (comment)
The winmd shipped with the NuGet package has an [indecisive license][1], as it's intended to fall under the MIT license just like other code files, but is strictly a binary blob. At the same time the metadata [isn't representing the headers as conveniently and completely][2] as we'd like in our Rust bindings, but unfortunately there is no upstream source available to reference or contribute to, where we can tweak and improve how the NuGet `winmd` is generated. The metadata description introduced here tries to reproduce the original metadata as closely as possible, while following the improvements [that I requested upstream][2] and [maintaining the `int` type for `DSTORAGE_DEBUG`][3]. [1]: microsoft/DirectStorage#8 (comment) [2]: microsoft/DirectStorage#38 [3]: microsoft/win32metadata#1822 (comment)
The winmd shipped with the NuGet package has an [indecisive license][1], as it's intended to fall under the MIT license just like other code files, but is strictly a binary blob. At the same time the metadata [isn't representing the headers as conveniently and completely][2] as we'd like in our Rust bindings, but unfortunately there is no upstream source available to reference or contribute to, where we can tweak and improve how the NuGet `winmd` is generated. The metadata description introduced here tries to reproduce the original metadata as closely as possible, while following the improvements [that I requested upstream][2] and [maintaining the `int` type for `DSTORAGE_DEBUG`][3]. [1]: microsoft/DirectStorage#8 (comment) [2]: microsoft/DirectStorage#38 [3]: microsoft/win32metadata#1822 (comment)
The winmd shipped with the NuGet package has an [indecisive license][1], as it's intended to fall under the MIT license just like other code files, but is strictly a binary blob. At the same time the metadata [isn't representing the headers as conveniently and completely][2] as we'd like in our Rust bindings, but unfortunately there is no upstream source available to reference or contribute to, where we can tweak and improve how the NuGet `winmd` is generated. The metadata description introduced here tries to reproduce the original metadata as closely as possible, while following the improvements [that I requested upstream][2] and [maintaining the `int` type for `DSTORAGE_DEBUG`][3]. [1]: microsoft/DirectStorage#8 (comment) [2]: microsoft/DirectStorage#38 [3]: microsoft/win32metadata#1822 (comment)
The winmd shipped with the NuGet package has an [indecisive license][1], as it's intended to fall under the MIT license just like other code files, but is strictly a binary blob. At the same time the metadata [isn't representing the headers as conveniently and completely][2] as we'd like in our Rust bindings, but unfortunately there is no upstream source available to reference or contribute to, where we can tweak and improve how the NuGet `winmd` is generated. The metadata description introduced here tries to reproduce the original metadata as closely as possible, while following the improvements [that I requested upstream][2] and [maintaining the `int` type for `DSTORAGE_DEBUG`][3]. [1]: microsoft/DirectStorage#8 (comment) [2]: microsoft/DirectStorage#38 [3]: microsoft/win32metadata#1822 (comment)
The winmd shipped with the NuGet package has an [indecisive license][1], as it's intended to fall under the MIT license just like other code files, but is strictly a binary blob. At the same time the metadata [isn't representing the headers as conveniently and completely][2] as we'd like in our Rust bindings, but unfortunately there is no upstream source available to reference or contribute to, where we can tweak and improve how the NuGet `winmd` is generated. The metadata description introduced here tries to reproduce the original metadata as closely as possible, while following the improvements [that I requested upstream][2] and [maintaining the `int` type for `DSTORAGE_DEBUG`][3]. [1]: microsoft/DirectStorage#8 (comment) [2]: microsoft/DirectStorage#38 [3]: microsoft/win32metadata#1822 (comment)
It's great to have
winmd
metadata available 🎉 but a few type annotations are missing.IDStorageFactory::SetDebugFlags::flags
should beDSTORAGE_DEBUG
. AndIDStorageQueue
has non-optional output pointers, that don't seem to be properly represented in the metadata and causewindows-rs
to generate a by-mutable-reference getter rather than allocating and returning the object.All of that is solved with the following mapping.
Tsukisoft/direct-storage-rs@6a7f8c5
The text was updated successfully, but these errors were encountered: