Skip to content

Commit dbf868d

Browse files
Make steep happy
1 parent a42e977 commit dbf868d

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

sig/ruby_wasm/cli.rbs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,12 @@ module RubyWasm
1414
target_triplet: String,
1515
profile: String,
1616
stdlib: bool,
17+
without_stdlib_components: Array[String],
1718
disable_gems: bool,
1819
gemfile: String?,
1920
patches: Array[String],
2021
format: String,
22+
dest_dir: String,
2123
}
2224

2325
DEFAULT_RUBIES_DIR: string

sig/ruby_wasm/packager.rbs

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ class RubyWasm::Packager
5858
def initialize: (RubyWasm::Packager) -> void
5959
def build: (RubyWasm::BuildExecutor, untyped options) -> String
6060
def build_gem_exts: (RubyWasm::BuildExecutor, string gem_home) -> void
61-
def link_gem_exts: (RubyWasm::BuildExecutor, string gem_home, bytes module_bytes) -> bytes
61+
def link_gem_exts: (RubyWasm::BuildExecutor, string ruby_root, string gem_home, bytes module_bytes) -> bytes
6262

6363
extend Forwardable
6464

@@ -75,7 +75,8 @@ class RubyWasm::Packager
7575
def build: (RubyWasm::BuildExecutor, untyped options) -> String
7676
def specs_with_extensions: () -> Array[[untyped, Array[string]]]
7777
def build_gem_exts: (RubyWasm::BuildExecutor, string gem_home) -> void
78-
def link_gem_exts: (RubyWasm::BuildExecutor, string gem_home, bytes module_bytes) -> bytes
78+
def link_gem_exts: (RubyWasm::BuildExecutor, string ruby_root, string gem_home, bytes module_bytes) -> bytes
79+
def wasi_exec_model: () -> String
7980
end
8081

8182
class DynamicLinking < RubyWasm::Packager::Core::BuildStrategy
@@ -84,7 +85,7 @@ class RubyWasm::Packager
8485
def name: () -> string
8586

8687
private def _build_gem_exts: (RubyWasm::BuildExecutor, RubyWasm::Build, string gem_home) -> void
87-
private def _link_gem_exts: (RubyWasm::BuildExecutor, RubyWasm::Build, string gem_home) -> bytes
88+
private def _link_gem_exts: (RubyWasm::BuildExecutor, RubyWasm::Build, string ruby_root, string gem_home, bytes module_bytes) -> bytes
8889
end
8990

9091
class StaticLinking < RubyWasm::Packager::Core::BuildStrategy
@@ -105,6 +106,7 @@ class RubyWasm::Packager
105106
def initialize: (string dest_dir, RubyWasm::Packager) -> void
106107
def package_ruby_root: (String tarball, RubyWasm::BuildExecutor) -> void
107108
def remove_stdlib: (RubyWasm::BuildExecutor) -> void
109+
def remove_stdlib_component: (RubyWasm::BuildExecutor, string) -> void
108110
def package_gems: () -> void
109111

110112
def setup_rb_content: () -> String

0 commit comments

Comments
 (0)