rusty_v8 icon indicating copy to clipboard operation
rusty_v8 copied to clipboard

Can't build by `cargo build`

Open felixf4xu opened this issue 1 year ago • 5 comments

Hi,

I cloned this repo and its submodules, then in the root folder of the repo, I run cargo build

warning: /home/ccccc/github/rusty_v8/Cargo.toml: file `/home/ccccc/github/rusty_v8/build.rs` found to be present in multiple build targets:
  * `integration-test` target `build`
  * `build-script` target `build-script-build`
   Compiling v8 v129.0.0 (/home/ccccc/github/rusty_v8)
error: couldn't read /home/ccccc/github/rusty_v8/gen/src_binding_release_x86_64-unknown-linux-gnu.rs: No such file or directory (os error 2)
 --> src/binding.rs:5:1
  |
5 | 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

I'm not sure if this is the right first step to build.

I did not set any env variable.

felixf4xu avatar Oct 01 '24 15:10 felixf4xu