Skip to content

Commit 83d1d23

Browse files
Merge pull request #347 from ruby/katei/release-ruby-3.3
Ruby 3.3.0
2 parents 3122466 + 67f5e03 commit 83d1d23

File tree

13 files changed

+157
-277
lines changed

13 files changed

+157
-277
lines changed

Rakefile

Lines changed: 12 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,10 @@ BUILD_SOURCES = {
1515
rev: "master",
1616
patches: Dir["./patches/*.patch"].map { |p| File.expand_path(p) }
1717
},
18+
"3.3" => {
19+
type: "tarball",
20+
url: "https://cache.ruby-lang.org/pub/ruby/3.3/ruby-3.3.0.tar.gz"
21+
},
1822
"3.2" => {
1923
type: "tarball",
2024
url: "https://cache.ruby-lang.org/pub/ruby/3.2/ruby-3.2.2.tar.gz"
@@ -57,11 +61,6 @@ BUILD_PROFILES = {
5761
default_exts: FULL_EXTS,
5862
user_exts: []
5963
},
60-
"full-js" => {
61-
debug: false,
62-
default_exts: FULL_EXTS,
63-
user_exts: %w[js witapi]
64-
},
6564
"full-js-debug" => {
6665
debug: true,
6766
default_exts: FULL_EXTS,
@@ -74,17 +73,9 @@ BUILDS =
7473
.product(BUILD_SOURCES.keys, BUILD_PROFILES.keys)
7574
.select do |target, _, profile_name|
7675
if target == "wasm32-unknown-emscripten"
77-
profile = BUILD_PROFILES[profile_name]
78-
user_exts = profile[:user_exts]
79-
# Skip builds with JS extensions or debug mode for Emscripten
80-
# because JS extensions have incompatible import/export entries
81-
# and debug mode is rarely used for Emscripten.
82-
next(
83-
!(
84-
user_exts.include?("witapi") || user_exts.include?("js") ||
85-
profile[:debug]
86-
)
87-
)
76+
# Builds only full for Emscripten since minimal, js, debug
77+
# builds are rarely used with Emscripten.
78+
next profile_name == "full"
8879
end
8980
next true
9081
end
@@ -106,6 +97,11 @@ NPM_PACKAGES = [
10697
build: "head-wasm32-unknown-wasi-full-js-debug",
10798
target: "wasm32-unknown-wasi"
10899
},
100+
{
101+
name: "ruby-3.3-wasm-wasi",
102+
build: "3.3-wasm32-unknown-wasi-full-js-debug",
103+
target: "wasm32-unknown-wasi"
104+
},
109105
{
110106
name: "ruby-3.2-wasm-wasi",
111107
build: "3.2-wasm32-unknown-wasi-full-js-debug",

0 commit comments

Comments
 (0)