Closed skanehira closed 2 years ago
@littledivy Can you also take a look?
This change broke the use of deno_bindgen in cargo workspaces. The code generated within a workspace is now:
const url = new URL("..../target/debug", import.meta.url) ;
I can poke around and make a PR + tests.
fix https://github.com/denoland/deno_bindgen/issues/91
When deno_bindgen run on Windows, the
fetchPrefix
should be..\target\debug
. But\
escapes the next characters, so the finalfetchPrefix
will be\..argetdebug
.