Skip to content

Commit 983b2d7

Browse files
Assume local source is based on head branch
1 parent fac40c1 commit 983b2d7

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

lib/ruby_wasm/cli.rb

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,9 @@ def compute_build_source(options)
216216
local_source = { type: "local", path: src_name }
217217
# @type var local_source: RubyWasm::Packager::build_source
218218
local_source = local_source.merge(name: "local", patches: [])
219-
return [local_source, nil]
219+
# FIXME: We should have a way to specify extensions to be included by users.
220+
# For now, assume all default extensions available in the head revision are available.
221+
return [local_source, RubyWasm::Packager::ALL_DEFAULT_EXTS]
220222
end
221223
# Otherwise, it's an unknown source.
222224
raise(

0 commit comments

Comments
 (0)