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

interpreter-in-browser doesn't build #1

Open
erszcz opened this issue Jul 7, 2020 · 1 comment
Open

interpreter-in-browser doesn't build #1

erszcz opened this issue Jul 7, 2020 · 1 comment
Assignees

Comments

@erszcz
Copy link

erszcz commented Jul 7, 2020

I'm trying to build the examples. spawn-chain builds and works fine, but with interpreter-in-browser I get multiple errors of this type:

   Compiling libeir_diagnostics v0.1.0 (https://github.com/eirproject/eir.git?branch=lumen#2124ea35)
error[E0080]: erroneous constant used
  --> /Users/erszcz/.cargo/git/checkouts/eir-9a91440c84f5797a/2124ea3/libeir_diagnostics/src/index.rs:15:73
   |
15 |     pub const UNKNOWN: Self = Self(unsafe { NonZeroUsize::new_unchecked(Self::UNKNOWN_SRC_ID) });
   |                                                                         ^^^^^^^^^^^^^^^^^^^^ referenced constant has errors

error[E0080]: evaluation of constant expression failed
  --> /Users/erszcz/.cargo/git/checkouts/eir-9a91440c84f5797a/2124ea3/libeir_diagnostics/src/index.rs:49:20
   |
49 |         if self == Self::UNKNOWN {
   |                    ^^^^^^^^^^^^^ referenced constant has errors
...
error: aborting due to 8 previous errors

All but the first one are about Self::UNKNOWN.

My env:

$ rustc --version
rustc 1.45.0-nightly (769d12eec 2020-05-12)
@KronicDeth
Copy link
Contributor

The interpreter broke with the DynOp changes to EIR.

@bitwalker bitwalker transferred this issue from GetFirefly/firefly Aug 5, 2020
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

3 participants