wasmerio / wasmer-ruby

💎🕸 WebAssembly runtime for Ruby
https://wasmer.io
MIT License
465 stars 18 forks source link

Remove Unused Import #77

Open eric-hemasystems opened 6 months ago

eric-hemasystems commented 6 months ago

Starting around Rust 1.75 (I think) compiling wasmer started giving this error:

  Compiling wasmer v1.0.0 (/Users/{user}/.rbenv/versions/3.2.2/lib/ruby/gems/3.2.0/gems/wasmer-1.0.0/crates/wasmer)
error: unused import: `ClassInfo`
--> crates/wasmer/src/prelude.rs:3:62
  |
3 | pub use rutie_derive::{rubyclass, rubyfunction, rubymethods, ClassInfo, UpcastRubyClass};
  |                                                              ^^^^^^^^^
  |

This seems to just be an unused struct. Removing it makes it compile and everything still seems to work when I use the lib (test suite fails but it does under older versions of Rust as well so I don't think that is related).

This will fix #76.

camertron commented 2 months ago

Any update on this?