We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
#[doc(hidden)]
__WIT_BINDGEN_COMPONENT_TYPE
1 parent 9ad1226 commit c2c2a3aCopy full SHA for c2c2a3a
crates/gen-guest-rust/src/lib.rs
@@ -255,6 +255,7 @@ impl WorldGenerator for RustWasm {
255
let component_type =
256
wit_component::metadata::encode(resolve, world, wit_component::StringEncoding::UTF8)
257
.unwrap();
258
+ self.src.push_str("#[doc(hidden)]");
259
self.src.push_str(&format!(
260
"pub static __WIT_BINDGEN_COMPONENT_TYPE: [u8; {}] = ",
261
component_type.len()
0 commit comments