Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error converting to String #78

Open
paul opened this issue Nov 5, 2024 · 0 comments
Open

Error converting to String #78

paul opened this issue Nov 5, 2024 · 0 comments
Labels
🐞 bug Something isn't working

Comments

@paul
Copy link

paul commented Nov 5, 2024

Seems like this project is probably dead, but I'm reporting this anyways. It doesn't seem like it works in the latest versions.

Describe the bug

I can't run the examples, I get an error:

Error converting to String (TypeError)

Steps to reproduce

$ ruby examples/appendices/simple.rb
examples/appendices/simple.rb:8: warning: undefining the allocator of T_DATA class Wasmer::Store
examples/appendices/simple.rb:11:in `new': Error converting to String (TypeError)

module_ = Wasmer::Module.new store, IO.read(file, mode: "rb")
                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
	from examples/appendices/simple.rb:11:in `<main>'

Additional context

$ ruby -v
ruby 3.3.5 (2024-09-03 revision ef084cc8f4) [x86_64-linux]

$ rustc --version
rustc 1.82.0 (f6e511eec 2024-10-15)
@paul paul added the 🐞 bug Something isn't working label Nov 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐞 bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant