Skip to content

Commit

Permalink
Merge pull request #479 from ruby/dependabot/submodules/vendor/jco-2f…
Browse files Browse the repository at this point in the history
…1e4d8
  • Loading branch information
kateinoigakukun authored Jun 29, 2024
2 parents f682558 + c87a95c commit 73d3d5a
Show file tree
Hide file tree
Showing 6 changed files with 70 additions and 31 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ jobs:
chmod +x ./build-exec
# wait for docker exec to be ready
timeout 10 bash -c 'until ./build-exec bundle config set --local without check; do sleep 1; done'
- run: ./build-exec rustup target add wasm32-wasi # For jco build
- run: ./build-exec rustup target add wasm32-wasip1 # For jco build
- run: ./build-exec ./bin/setup
- run: ./build-exec bundle exec rake compile
- name: Pre-release configuration
Expand Down
2 changes: 1 addition & 1 deletion builders/wasm32-unknown-emscripten/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ ENV PATH=/usr/bin:$PATH
ENV RUSTUP_HOME=/usr/local/rustup \
CARGO_HOME=/usr/local/cargo \
PATH=/usr/local/cargo/bin:$PATH \
RUST_VERSION=1.76.0
RUST_VERSION=1.79.0

RUN set -eux pipefail; \
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | \
Expand Down
2 changes: 1 addition & 1 deletion builders/wasm32-unknown-wasi/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ RUN set -eux pipefail; \
ENV RUSTUP_HOME=/usr/local/rustup \
CARGO_HOME=/usr/local/cargo \
PATH=/usr/local/cargo/bin:$PATH \
RUST_VERSION=1.76.0
RUST_VERSION=1.79.0

RUN set -eux pipefail; \
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | \
Expand Down
89 changes: 62 additions & 27 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions rakelib/packaging.rake
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,10 @@ def npm_pkg_build_command(pkg)
end

def npm_pkg_rubies_cache_key(pkg)
# FIXME: Now CrossRubyExtProduct depends on just built baseruby, and exts can be
# built after restoring the tarball cache. So it can fail to find baseruby when the
# cache hit. We need to orchestrate the build dependency graph properly.
return nil if pkg[:name] == "ruby-head-wasm-wasi"
build_command = npm_pkg_build_command(pkg)
return nil unless build_command
require "open3"
Expand Down

0 comments on commit 73d3d5a

Please sign in to comment.