We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 906e096 commit a63fcd2Copy full SHA for a63fcd2
1 file changed
crates/rust/src/lib.rs
@@ -946,6 +946,10 @@ macro_rules! __export_{world_name}_impl {{
946
section_suffix: &str,
947
func_name: Option<&str>,
948
) {
949
+ // As above, disable rustfmt, as we use prettyplease.
950
+ if self.opts.format {
951
+ uwriteln!(self.src, "#[rustfmt::skip]");
952
+ }
953
self.src.push_str("\n#[cfg(target_arch = \"wasm32\")]\n");
954
955
// The custom section name here must start with "component-type" but
0 commit comments