Skip to content

Commit

Permalink
feat: upgrade Deno core and extensions (#97)
Browse files Browse the repository at this point in the history
Upgrade Deno crates:
- `deno_core` from `0.171.0` to `0.173.0`
- `deno_runtime` from `0.97.0` to `0.99.0`

Rework our internal modules to use the new ES module style.

Rework the way how we call async ops to accommodate changes
made by Deno.

Disable Windows support for the time being because GitHub Actions
Windows runners don't have enough disk space for building Zinnia.

Signed-off-by: Miroslav Bajtoš <[email protected]>
  • Loading branch information
bajtos authored Mar 9, 2023
1 parent 0b1ed46 commit 865e436
Show file tree
Hide file tree
Showing 11 changed files with 1,151 additions and 402 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,9 @@ jobs:
os: macos-latest
- target: aarch64-apple-darwin
os: macos-latest
- target: x86_64-pc-windows-msvc
os: windows-latest
# Support Windows: https://github.com/filecoin-station/zinnia/issues/99
# - target: x86_64-pc-windows-msvc
# os: windows-latest
- target: x86_64-unknown-linux-gnu
os: ubuntu-latest
runs-on: ${{ matrix.os }}
Expand Down
13 changes: 7 additions & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,12 +33,13 @@ jobs:
os: macos-latest
name: zinnia-macos-arm64.zip

- target: x86_64-pc-windows-msvc
os: windows-latest
name: zinnia-windows-x64.zip
rustflags: -C target-feature=+crt-static -C lto=off
# ^^^^^^^^^^
# LTO is temporarily disabled, see https://github.com/rust-lang/rust/issues/107781
# Support Windows: https://github.com/filecoin-station/zinnia/issues/99
# - target: x86_64-pc-windows-msvc
# os: windows-latest
# name: zinnia-windows-x64.zip
# rustflags: -C target-feature=+crt-static -C lto=off
# # ^^^^^^^^^^
# # LTO is temporarily disabled, see https://github.com/rust-lang/rust/issues/107781

runs-on: ${{ matrix.os }}
env:
Expand Down
Loading

0 comments on commit 865e436

Please sign in to comment.