Commit 29b2d42
authored
third_party/setup.py: fix wabt platform detection on Linux (#8526)
wabt changed its release asset naming convention in version 1.0.39. On
Linux, the old name `ubuntu` no longer matches the new names `linux-x64`
/ `linux-arm64`, causing `setup.py` to silently fail with an empty
download URL and crash with `ValueError: unknown url type: ''`.
The fix mirrors the existing style for `macos` and `windows` — returning
a prefix that matches the asset name via the existing regex.1 parent c8bac64 commit 29b2d42
1 file changed
+3
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
174 | 174 | | |
175 | 175 | | |
176 | 176 | | |
177 | | - | |
| 177 | + | |
178 | 178 | | |
179 | 179 | | |
180 | 180 | | |
181 | 181 | | |
182 | | - | |
183 | | - | |
| 182 | + | |
| 183 | + | |
184 | 184 | | |
185 | 185 | | |
186 | 186 | | |
| |||
0 commit comments