Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
macros/class: Propagate
cfg
annotations to COM class methods
We have a very peculiar workaround for DXC (pending upstream fix [microsoft/DirectXShaderCompiler#3793]) that requires us to conditionally provide function implementations for extra vtable "spacers": https://github.com/Traverse-Research/hassle-rs/blob/f5a090c70bbcf66f3bafd3d549716a414e873838/src/wrapper.rs#L130-L139. The spacers are conditionally defined in: https://github.com/Traverse-Research/hassle-rs/blob/f5a090c70bbcf66f3bafd3d549716a414e873838/src/unknown.rs. These need to be forwarded otherwise the initialization of these vtable members will happen unconditionally even when they don't exist: https://github.com/Traverse-Research/hassle-rs/actions/runs/1777800733 Fixes microsoft#166 [microsoft/DirectXShaderCompiler#3793]: microsoft/DirectXShaderCompiler#3793
- Loading branch information