fix compilation errors with -Clink-dead-code on Windows and remove unused function stubs that worked around a bindgen bug that has been fixed in version 0.54
@@ -567,12 +567,11 @@ fn bindgen_gen(build: &FinalBuildConfiguration, current_dir: &Path, output_direc
.blacklist_type("GrRecordingContextPriv")
.raw_line("pub enum GrContextPriv {}")
.blacklist_type("GrContextPriv")
- .raw_line("#[allow(dead_code)] fn GrContext_priv(_: &GrContext) -> GrContextPriv { panic!(\"unexpected\") }")
- .raw_line("#[allow(dead_code)] fn GrContext_priv1(_: &GrContext) -> GrContextPriv { panic!(\"unexpected\") }")
.blacklist_function("GrContext_priv.*")
- .raw_line("fn SkDeferredDisplayList_priv(_: &SkDeferredDisplayList) -> SkDeferredDisplayListPriv { panic!(\"unexpected\") }")
- .raw_line("fn SkDeferredDisplayList_priv1(_: &SkDeferredDisplayList) -> SkDeferredDisplayListPriv { panic!(\"unexpected\") }")
.blacklist_function("SkDeferredDisplayList_priv.*")
+ .raw_line("pub enum SkVerticesPriv {}")
+ .blacklist_type("SkVerticesPriv")
+ .blacklist_function("SkVertices_priv.*")
// Vulkan reexports that got swallowed by making them opaque.
// (these can not be whitelisted by a extern "C" function)
.whitelist_type("VkPhysicalDeviceFeatures")
