summaryrefslogtreecommitdiff
path: root/src/wasm-builder.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/wasm-builder.h')
-rw-r--r--src/wasm-builder.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wasm-builder.h b/src/wasm-builder.h
index 284608105..7d839357e 100644
--- a/src/wasm-builder.h
+++ b/src/wasm-builder.h
@@ -84,7 +84,7 @@ public:
auto* export_ = new Export();
export_->name = name;
export_->value = value;
- export_->kind = ExternalKind::Function;
+ export_->kind = kind;
return export_;
}