DelSkayn / rquickjs

High level bindings to the quickjs javascript engine
MIT License
434 stars 59 forks source link

windows cannot build #253

Closed xiaohucode closed 5 months ago

xiaohucode commented 5 months ago
[ERROR rust_analyzer::main_loop] FetchBuildDataError:
error: failed to run custom build command for `rquickjs-sys v0.4.2 (https://github.com/DelSkayn/rquickjs.git#e92bf7a1)`

Caused by:
  process didn't exit successfully: `E:\soursce\rust\rust_test\target\debug\build\rquickjs-sys-a0468e65fc99046b\build-script-build` (exit code: 1)
  --- stderr
  patch: **** Can't rename file tests/test_line_column.js.o0oy9Bb to tests/test_line_column.js : No such file or directory

  error occurred: Command "D:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\Professional\\VC\\Tools\\MSVC\\14.29.30133\\bin\\HostX64\\x64\\cl.exe" "-nologo" "-MD" "-Z7" "-Brepro" "-W4" "-D_GNU_SOURCE" "-DCONFIG_VERSION=\"2020-01-19\"" "-DCONFIG_BIGNUM" "-DCONFIG_MODULE_EXPORTS" "-FoE:\\soursce\\rust\\rust_test\\target\\debug\\build\\rquickjs-sys-1eb15c17274fa198\\out\\71424b08df4f8e3b-quickjs.o" "-c" "E:\\soursce\\rust\\rust_test\\target\\debug\\build\\rquickjs-sys-1eb15c17274fa198\\out\\quickjs.c" with args "cl.exe" did not execute successfully (status code exit code: 2).