windows-bindgen
needs no-deps
option where bindings don't depend on other crates
#3319
Labels
enhancement
New feature or request
Suggestion
windows-bindgen should generate string types using windows-strings crate types, and windows-strings should work on linux.
After version 0.58, generated code has "windows_core::PCWSTR" but it is not defined on linux "
cannot find type
PCWSTR
in cratewindows_core
".This is due to change: #3143
Previously I was able to use the generated code with PCWSTR on linux by implementing HeapAlloc etc as work around. And such workaround has been implemented in windows-rs directly: #3004
Please support PCWSTR for windows-bindgen (COM) and linux, or expose the previous behavior that we can use work around. For now, we stick with 0.57 version until this ask is completed in future versions.
The text was updated successfully, but these errors were encountered: