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 a0c0e57 commit 93b452fCopy full SHA for 93b452f
crates/stdarch-gen-wasm/src/structs.rs
@@ -40,7 +40,9 @@ impl<'a> CIntrinsic<'a> {
40
41
let return_type = node
42
.children(&mut cursor)
43
- .find(|node| node.grammar_name() == "identifier")
+ .find(|node| {
44
+ node.grammar_name() == "identifier" || node.grammar_name() == "primitive_type"
45
+ })
46
.map(|node| source.get(node.byte_range()).unwrap());
47
48
let specifier = source
0 commit comments