Skip to content

Commit 6124b81

Browse files
Merge pull request #377 from ruby/katei/savannah-down
Use jsDelivr instead of git.savannah.gnu.org
2 parents d13d659 + 9f634fa commit 6124b81

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

lib/ruby_wasm/build/product/libyaml.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,11 +52,11 @@ def build(executor)
5252
executor.system "curl",
5353
"-o",
5454
"#{product_build_dir}/config/config.guess",
55-
"https://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD"
55+
"https://cdn.jsdelivr.net/gh/gcc-mirror/gcc@master/config.guess"
5656
executor.system "curl",
5757
"-o",
5858
"#{product_build_dir}/config/config.sub",
59-
"https://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub;hb=HEAD"
59+
"https://cdn.jsdelivr.net/gh/gcc-mirror/gcc@master/config.sub"
6060

6161
executor.system "./configure", *configure_args, chdir: product_build_dir
6262
executor.system "make",

lib/ruby_wasm/packager.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,7 @@ def root
8484

8585
# Retrieves the alias definitions for the Ruby sources.
8686
def self.build_source_aliases(root)
87+
# @type var sources: Hash[string, RubyWasm::Packager::build_source]
8788
sources = {
8889
"head" => {
8990
type: "github",

sig/ruby_wasm/packager.rbs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ class RubyWasm::Packager
1717

1818
def root: () -> string
1919

20-
type build_source = Hash[Symbol, (String | Array[String])]
20+
type build_source = Hash[Symbol, (string | Array[String])]
2121
def self.build_source_aliases: (string root) -> Hash[string, build_source]
2222

2323
ALL_DEFAULT_EXTS: string

0 commit comments

Comments
 (0)