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

Remove Unused Import #77

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

eric-hemasystems
Copy link

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.

Starting around Rust 1.73 (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).
@camertron
Copy link

Any update on this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

gem install fails with Rust 1.75.0
3 participants