-
Notifications
You must be signed in to change notification settings - Fork 412
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Specify cargo build target dir? #1156
Comments
To me it looks like as wasm-pack changes directories incorrectly. I specify But then wasm-pack looks for the binary in |
dfaust
added a commit
to dfaust/wasm-pack
that referenced
this issue
Sep 22, 2023
dfaust
added a commit
to dfaust/wasm-pack
that referenced
this issue
Sep 22, 2023
Fixed in #1331. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
💡 Feature description
I want to specify all the intermediate compilation files or wasm output into specified dir. I used
wasm-pack build <input-dir> --out-dir <wasm-pack-output-dir> -- --target-dir <cargo-target-dir>
, but the following error was emitted:[INFO]: Installing wasm-bindgen... error: failed reading '<input-dir>\target\wasm32-unknown-unknown\release\<not-important>.wasm' Caused by: 系统找不到指定的路径。 (os error 3) ^^^^^^^^^^^^^^^ (Which means "system can not find specified path")
Seems like wasm-pack always assumes the cargo target output is emitted to
<input-dir>/target
?💻 Basic example
Include a basic code example if possible. Omit this section if not applicable.
The text was updated successfully, but these errors were encountered: