Skip to content

Commit 272735d

Browse files
committed
c++ generator compiles
1 parent 639f0a1 commit 272735d

3 files changed

Lines changed: 244 additions & 552 deletions

File tree

crates/c/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3136,7 +3136,7 @@ impl Source {
31363136
}
31373137
}
31383138

3139-
fn wasm_type(ty: WasmType) -> &'static str {
3139+
pub fn wasm_type(ty: WasmType) -> &'static str {
31403140
match ty {
31413141
WasmType::I32 => "int32_t",
31423142
WasmType::I64 => "int64_t",

0 commit comments

Comments
 (0)