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.
1 parent 76f67e5 commit c3b322fCopy full SHA for c3b322f
src/bin/wasm-tools/strip.rs
@@ -46,8 +46,8 @@ impl Opts {
46
return to_delete.is_match(name);
47
}
48
49
- // Finally default strip everything but the `name` section.
50
- name != "name"
+ // Finally default strip everything but the `name` and any `component-type` sections.
+ name != "name" && !name.starts_with("component-type:")
51
};
52
53
let mut output = Vec::new();
0 commit comments