guybedford / chomp

'JS Make' - parallel task runner for the frontend ecosystem with a JS extension system.
https://chompbuild.com
Apache License 2.0
143 stars 7 forks source link

Update `v8` and `serde_v8` to latest #180

Closed jake-danton closed 7 months ago

jake-danton commented 7 months ago

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`.
guybedford commented 7 months ago

Thanks for this, posting the new release now.