Skip to content

Commit b47e948

Browse files
Remove rake task uniquness workaround
1 parent 7555a59 commit b47e948

File tree

1 file changed

+0
-13
lines changed

1 file changed

+0
-13
lines changed

lib/ruby_wasm/rake_task.rb

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -62,8 +62,6 @@ def initialize(
6262
)
6363
yield self if block_given?
6464

65-
@products_to_define&.each(&:define_task)
66-
6765
@crossruby.with_libyaml @libyaml
6866
@crossruby.with_zlib @zlib
6967
@crossruby.with_wasi_vfs @wasi_vfs
@@ -96,15 +94,4 @@ def hexdigest
9694
digest << @wasi_vfs.name
9795
digest.hexdigest
9896
end
99-
100-
private
101-
102-
def add_product(product)
103-
@@products ||= {}
104-
return @@products[product.name] if @@products[product.name]
105-
@@products[product.name] = product
106-
@products_to_define ||= []
107-
@products_to_define << product
108-
product
109-
end
11097
end

0 commit comments

Comments
 (0)