rusty_v8 icon indicating copy to clipboard operation
rusty_v8 copied to clipboard

No binding built when using RUSTY_V8_ARCHIVE

Open ArchGuyWu opened this issue 1 year ago • 3 comments
trafficstars

Using RUSTY_V8_ARCHIVE just requires to specify the path to v8 static library, but rusty_v8 also requires prebuilt rusty_v8_src_binding.

  error: couldn't read C:\Users\runneradmin\.cargo\registry\src\index.crates.io-6f17d22bba15001f\v8-0.99.0\gen\src_binding_release_x86_64-pc-windows-gnu.rs: The system cannot find the file specified. (os error 2)
   --> C:\Users\runneradmin\.cargo\registry\src\index.crates.io-6f17d22bba15001f\v8-0.99.0\src\binding.rs:4:1
    |
  4 | include!(env!("RUSTY_V8_SRC_BINDING_PATH"));
    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    |
    = note: this error originates in the macro `include` (in Nightly builds, run with -Z macro-backtrace for more info)
  
  error: could not compile `v8` (lib) due to 1 previous error

ArchGuyWu avatar Aug 16 '24 05:08 ArchGuyWu