@@ -15,6 +15,10 @@ BUILD_SOURCES = {
15
15
rev : "master" ,
16
16
patches : Dir [ "./patches/*.patch" ] . map { |p | File . expand_path ( p ) }
17
17
} ,
18
+ "3.3" => {
19
+ type : "tarball" ,
20
+ url : "https://cache.ruby-lang.org/pub/ruby/3.3/ruby-3.3.0.tar.gz"
21
+ } ,
18
22
"3.2" => {
19
23
type : "tarball" ,
20
24
url : "https://cache.ruby-lang.org/pub/ruby/3.2/ruby-3.2.2.tar.gz"
@@ -57,11 +61,6 @@ BUILD_PROFILES = {
57
61
default_exts : FULL_EXTS ,
58
62
user_exts : [ ]
59
63
} ,
60
- "full-js" => {
61
- debug : false ,
62
- default_exts : FULL_EXTS ,
63
- user_exts : %w[ js witapi ]
64
- } ,
65
64
"full-js-debug" => {
66
65
debug : true ,
67
66
default_exts : FULL_EXTS ,
@@ -74,17 +73,9 @@ BUILDS =
74
73
. product ( BUILD_SOURCES . keys , BUILD_PROFILES . keys )
75
74
. select do |target , _ , profile_name |
76
75
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"
88
79
end
89
80
next true
90
81
end
@@ -106,6 +97,11 @@ NPM_PACKAGES = [
106
97
build : "head-wasm32-unknown-wasi-full-js-debug" ,
107
98
target : "wasm32-unknown-wasi"
108
99
} ,
100
+ {
101
+ name : "ruby-3.3-wasm-wasi" ,
102
+ build : "3.3-wasm32-unknown-wasi-full-js-debug" ,
103
+ target : "wasm32-unknown-wasi"
104
+ } ,
109
105
{
110
106
name : "ruby-3.2-wasm-wasi" ,
111
107
build : "3.2-wasm32-unknown-wasi-full-js-debug" ,
0 commit comments