This is to fix the following error running cargo install chompbuild with latest rustc version 1.77.1:
error[E0080]: evaluation of constant value failed
--> /usr/local/cargo/registry/src/index.crates.io-6f17d22bba15001f/v8-0.51.0/src/isolate.rs:1273:3
|
1273 | assert!(size_of::<TypeId>() == size_of::<u64>());
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the evaluated program panicked at 'assertion failed: size_of::<TypeId>() == size_of::<u64>()', /usr/local/cargo/registry/src/index.crates.io-6f17d22bba15001f/v8-0.51.0/src/isolate.rs:1273: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
warning: build failed, waiting for other jobs to finish...
error: failed to compile `chompbuild v0.2.17`, intermediate artifacts can be found at `/tmp/cargo-installo3yatW`.
This is to fix the following error running
cargo install chompbuild
with latest rustc version1.77.1
: