Skip to content

Commit

Permalink
Assume local source is based on head branch
Browse files Browse the repository at this point in the history
  • Loading branch information
kateinoigakukun committed Jun 14, 2024
1 parent fac40c1 commit 983b2d7
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/ruby_wasm/cli.rb
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,9 @@ def compute_build_source(options)
local_source = { type: "local", path: src_name }
# @type var local_source: RubyWasm::Packager::build_source
local_source = local_source.merge(name: "local", patches: [])
return [local_source, nil]
# FIXME: We should have a way to specify extensions to be included by users.
# For now, assume all default extensions available in the head revision are available.
return [local_source, RubyWasm::Packager::ALL_DEFAULT_EXTS]
end
# Otherwise, it's an unknown source.
raise(
Expand Down

0 comments on commit 983b2d7

Please sign in to comment.