ruby.wasm icon indicating copy to clipboard operation
ruby.wasm copied to clipboard

ruby.wasm is a collection of WebAssembly ports of the CRuby.

Results 54 ruby.wasm issues
Sort by recently updated
recently updated
newest added

Bumps [wit-component](https://github.com/bytecodealliance/wasm-tools) from 0.216.0 to 0.218.0. Commits See full diff in compare view [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=wit-component&package-manager=cargo&previous-version=0.216.0&new-version=0.218.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter...

dependencies
rust

It seems that there is some limit we hit on Safari related to call stack size. Loading a greenfield Rails application (`Rails.application.initialize!`, eager_load is true) results in a maximum call...

Bumps the dependencies group with 5 updates in the / directory: | Package | From | To | | --- | --- | --- | | [bytes](https://github.com/tokio-rs/bytes) | `1.8.0` |...

dependencies
rust

Looking through the docs, I expected to be able to find a way to directly set a variable and/or function to ruby in javascript using something like vm.set() like some...

Hi ๐Ÿ‘‹, I'm interested in using Ruby to generate wasip2 components and compose other components into my Ruby apps. I've seen some ongoing work here toward supporting wasip2 in #528...

I'd expect calling [`Bundler.require`](https://docs.ruby-lang.org/en/3.3/Bundler.html#method-c-require) to load all of my gems, but instead, I get this error: ``` vm.js:739 Uncaught RbError: /config/boot.rb:6:in '': private method 'require' called for module Bundler (NoMethodError)...

## Descriptoin The fundamental method`Kernel#sleep` stops working in the latest version of Ruby WASM package. My current workaround is to override the `Kernel#sleep` like: ```ruby module Kernel def sleep(time) JS.eval("return...

I'm actively experimenting with the head Ruby builds (mostly due to #555) and collecting some compatibility issues compared to 3.3 release here. Gem/lib versions: - ruby_wasm: 2.7.0 - js: 2.7.0...

with this gem file: ``` source 'https://rubygems.org' gem 'js', '~> 2.5' gem 'ruby_wasm', '~> 2.5' gem 'prawn', '~> 2.5' ``` fails with this error: bundle exec rbwasm build -o app.wasm...

Stackblitz reproduction: https://stackblitz.com/edit/ruby-wasm-demo-78s71k?file=index.html MatchData#end returns incorrect match offset when used in async context: ``` vm.eval(/(ั‚)(ะต)(ั)/.match('ั‚ะตัั‚').end(0)) #=> 3 vm.eval(/(ั‚)(ะต)(ั)/.match('ั‚ะตัั‚').end(1)) #=> 1 vm.evalAsync(/(ั‚)(ะต)(ั)/.match('ั‚ะตัั‚').end(0)) #=> 3291 vm.evalAsync(/(ั‚)(ะต)(ั)/.match('ั‚ะตัั‚').end(1)) #=> 3 ```