File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed
Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -138,7 +138,7 @@ $ npm install --save @ruby/wasm-wasi@2.7.2-2025-10-03-a
138138When a new version of Ruby is released, the following steps need to be taken to add support for it in ruby.wasm:
139139
1401401 . Update ` lib/ruby_wasm/cli.rb ` :
141- - Add a new entry in the ` build_source_aliases ` method for the new version
141+ - Add a new entry in the ` build_config_aliases ` method for the new version
142142 - Specify the tarball URL and required default extensions
143143
1441442 . Update ` Rakefile ` :
Original file line number Diff line number Diff line change 11def latest_build_sources
22 BUILD_SOURCES
33 . filter_map do |name |
4- src = RubyWasm ::CLI . build_source_aliases ( LIB_ROOT ) [ name ]
4+ config = RubyWasm ::CLI . build_config_aliases ( LIB_ROOT ) [ name ]
5+ src = config [ :src ]
56 case src [ :type ]
67 when "github"
78 url = "repos/#{ src [ :repo ] } /commits/#{ src [ :rev ] } "
@@ -23,7 +24,8 @@ def release_note
2324EOS
2425
2526 BUILD_SOURCES . each do |name |
26- source = RubyWasm ::CLI . build_source_aliases ( LIB_ROOT ) [ name ]
27+ config = RubyWasm ::CLI . build_config_aliases ( LIB_ROOT ) [ name ]
28+ source = config [ :src ]
2729 case source [ :type ]
2830 when "github"
2931 output +=
You can’t perform that action at this time.
0 commit comments