denoland/rusty_v8

Failures to compile v8 on mac with rust v1.76.0

vishvajeet-patil opened this issue · 1 comments

I am getting build errors like

error[E0080]: evaluation of constant value failed
    --> /Users/vishvajeetpatil/.cargo/registry/src/index.crates.io-6f17d22bba15001f/v8-0.71.2/src/isolate.rs:1715:3
     |
1715 |   assert!(size_of::<TypeId>() == size_of::<u64>());
     |   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the evaluated program panicked at 'assertion failed: size_of::<TypeId>() == size_of::<u64>()', /Users/vishvajeetpatil/.cargo/registry/src/index.crates.io-6f17d22bba15001f/v8-0.71.2/src/isolate.rs:1715:3
     |
     = note: this error originates in the macro `assert` (in Nightly builds, run with -Z macro-backtrace for more info)

For more information about this error, try `rustc --explain E0080`.
error: could not compile `v8` (lib) due to 1 previous error

Not understanding why this would happen.

You're using a fairly out-of-date version of this library. The most recent version is 0.83.2.