Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions ci/download-wasmtime.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

# set to "dev" to download the latest or pick a tag from
# https://github.com/bytecodealliance/wasmtime/tags
WASMTIME_VERSION = "v32.0.0"
WASMTIME_VERSION = "v33.0.0"


def main(platform, arch):
Expand Down Expand Up @@ -58,8 +58,6 @@ def main(platform, arch):
shutil.rmtree(Path('wasmtime/include'))
except Exception:
pass
Path(dst).parent.mkdir(parents=True)
(Path('wasmtime') / 'include/wasmtime').mkdir(parents=True)

with urllib.request.urlopen(url) as f:
contents = f.read()
Expand All @@ -83,6 +81,7 @@ def final_loc(name):
loc = final_loc(member)
if not loc:
continue
loc.parent.mkdir(parents=True, exist_ok=True)
print(f'{member} => {loc}')
contents = t.read(member)
with open(loc, "wb") as f:
Expand All @@ -93,6 +92,7 @@ def final_loc(name):
loc = final_loc(member.name)
if not loc:
continue
loc.parent.mkdir(parents=True, exist_ok=True)
print(f'{member.name} => {loc}')
contents = t.extractfile(member).read()
with open(loc, "wb") as f:
Expand Down
Loading