@@ -11,17 +11,19 @@ class WasiRuntimes < Formula
11
11
end
12
12
13
13
bottle do
14
- sha256 cellar : :any_skip_relocation , arm64_sequoia : "0f2634f91560a0537344f4c84466e06fad5061c6eaf943136ffc82f2c8e8fa58"
15
- sha256 cellar : :any_skip_relocation , arm64_sonoma : "3903b29603e9926d540312e302a5f9c1e0338587c2d9ab71b40a00a00e3c22ce"
16
- sha256 cellar : :any_skip_relocation , arm64_ventura : "27e597c06a4606f5e189a8aafe97a67d1af2b1efde5a8919a380b8a4423df319"
17
- sha256 cellar : :any_skip_relocation , sonoma : "bedd743473f5afa26709ef42f2c729f9dd7c350930fb5d47b24c2ab575cb95bf"
18
- sha256 cellar : :any_skip_relocation , ventura : "72fb97b1e58463cfa0e40625ce6028be7f4f41c19ad0455af1ad0c31521cf70b"
19
- sha256 cellar : :any_skip_relocation , x86_64_linux : "926a42b854953ac8613d97785241bbc78a2ef4190b0c6680ddcf496a9e4d0d65"
14
+ rebuild 1
15
+ sha256 cellar : :any_skip_relocation , arm64_sequoia : "6a416ceb547e428f6fa7ba55c1f955889504dc92ad62ad0c23d3e52c0aca4dff"
16
+ sha256 cellar : :any_skip_relocation , arm64_sonoma : "827a14dab71af9ca068ebe22e3e5a8cefb87f3f69f93011d9e9c4feb36d054b2"
17
+ sha256 cellar : :any_skip_relocation , arm64_ventura : "10a1a47517183e7b2e92f45dffae7142b261332a2a187c37677690684d69c30a"
18
+ sha256 cellar : :any_skip_relocation , sonoma : "ada587bb34d56e564ad457584c1e100ae5b505dc16d79e9e22840353106234ff"
19
+ sha256 cellar : :any_skip_relocation , ventura : "17bb1834271dbed6588418961a23891cd2682b3f717bb1d82157dbaf87fc4519"
20
+ sha256 cellar : :any_skip_relocation , x86_64_linux : "cf2e167df3de25498aca9b287f2880d99a0b20de5e2710166063a8dd4ad5912f"
20
21
end
21
22
22
23
depends_on "cmake" => :build
23
24
depends_on "lld" => [ :build , :test ]
24
25
depends_on "wasi-libc" => [ :build , :test ]
26
+ depends_on "wasm-component-ld" => [ :build , :test ]
25
27
depends_on "wasmtime" => :test
26
28
depends_on "llvm"
27
29
@@ -94,10 +96,6 @@ def install
94
96
ln_s pn , target
95
97
end
96
98
97
- # FIXME: the build mistakenly concludes our toolchain doesn't support `-fno-exceptions`
98
- # because we have no `wasm-component-ld`. Remove the line below when
99
- # `wasm-component-ld` is merged.
100
- ENV . append_to_cflags "-fno-exceptions"
101
99
target_configuration = Hash . new { |h , k | h [ k ] = { } }
102
100
103
101
targets . each do |target |
@@ -207,9 +205,6 @@ def install
207
205
208
206
clang = Formula [ "llvm" ] . opt_bin /"clang"
209
207
targets . each do |target |
210
- # FIXME: Needs a working `wasm-component-ld`.
211
- next if target . include? ( "wasip2" )
212
-
213
208
system clang , "--target=#{ target } " , "-v" , "test.c" , "-o" , "test-#{ target } "
214
209
assert_equal "the answer is 42" , shell_output ( "wasmtime #{ testpath } /test-#{ target } " )
215
210
0 commit comments