Skip to content

Commit 3c4930c

Browse files
committed
Enable the exception option
This is to cause an immediate build error if the zlib download fails.
1 parent 2cf7bc4 commit 3c4930c

File tree

1 file changed

+2
-1
lines changed
  • lib/ruby_wasm/build_system/product

1 file changed

+2
-1
lines changed

lib/ruby_wasm/build_system/product/zlib.rb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,8 @@ def build
3535
FileUtils.rm_rf product_build_dir
3636

3737
system "curl -L https://zlib.net/zlib-#{ZLIB_VERSION}.tar.gz | tar xz",
38-
chdir: File.dirname(product_build_dir)
38+
chdir: File.dirname(product_build_dir),
39+
exception: true
3940

4041
system "#{tools_args.join(" ")} ./configure --static",
4142
chdir: product_build_dir

0 commit comments

Comments
 (0)