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

No longer compiles on Nightly #30

Open
arbarlow opened this issue Oct 3, 2022 · 1 comment
Open

No longer compiles on Nightly #30

arbarlow opened this issue Oct 3, 2022 · 1 comment

Comments

@arbarlow
Copy link

arbarlow commented Oct 3, 2022

Unfortunately I think this has crept into nightly recently and now Eyros no longer builds

error[E0407]: method `backtrace` is not a member of trait `std::error::Error`
  --> /Users/alex/.cargo/registry/src/github.com-1ecc6299db9ec823/eyros-4.6.2/src/error.rs:31:3
   |
31 | /   fn backtrace(&'_ self) -> Option<&'_ Backtrace> {
32 | |     Some(&self.backtrace)
33 | |   }
   | |___^ not a member of trait `std::error::Error`

For more information about this error, try `rustc --explain E0407`.
error: could not compile `eyros` due to previous error
@rubillionaire
Copy link

this fork has a commit that fixes the issue: barakber@66be9e8

with the commit above i was able to cargo build --features default,wasm

i just asked a potentially related question as to if this repo would see more commits

if anyone else is looking to build the project, i found i had to install an extra cargo install wasm-bindgen-cli in order to make -s wasm-n n="2d". i was then able to copy the outputs to a local node_modules/eyros

cp eyros/pkg/2d.wasm peermaps-web/public/eyros2d.wasm
cp eyros/pkg/lib/2d-api.js peermaps-web/node_modules/eyros/lib/2d-api.js

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

No branches or pull requests

2 participants