Skip to content

Commit 0e2f30b

Browse files
Skip built? check at build time to install .rb files in exts
without additional option or manual cleanup
1 parent 4d155d9 commit 0e2f30b

File tree

2 files changed

+0
-5
lines changed

2 files changed

+0
-5
lines changed

lib/ruby_wasm/build_system/product/crossruby.rb

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -186,10 +186,6 @@ def artifact
186186
File.join(@rubies_dir, "ruby-#{name}.tar.gz")
187187
end
188188

189-
def built?
190-
File.exist?(artifact)
191-
end
192-
193189
def extinit_obj
194190
"#{ext_build_dir}/extinit.o"
195191
end

lib/ruby_wasm/rake_task.rb

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,6 @@ def initialize(
6868

6969
desc "Cross-build Ruby for #{@target}"
7070
task name do
71-
next if @crossruby.built?
7271
@crossruby.build
7372
end
7473
namespace name do

0 commit comments

Comments
 (0)