-
Notifications
You must be signed in to change notification settings - Fork 353
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
Issue running wasm compilation out-of-the-box #545
Comments
I assume you're seeing a log such as |
Thanks for bringing this up! You are right this is expecting every item to be a directory in |
Thank you for the report. This is a missing is directory check in https://github.com/CosmWasm/rust-optimizer/blob/v0.12.3/build_workspace/src/main.rs#L28-L32 @maurolacy could you look into this? |
I believe this has since been fixed. Can this be closed? |
True, fixed in 0.12.4 with this function: https://github.com/CosmWasm/rust-optimizer/blob/v0.12.4/build_workspace/src/main.rs#L22-L31. I think it can be closed once all references to workspace-optimizer in this project are updated. |
when running the docker command to compile
I get a error of
I have done
npm install
in the root directory on all the necessary packages for base-helpers.ts to run.I have also run the command
RUSTFLAGS="-C link-arg=-s" cargo build --release --target=wasm32-unknown-unknown --locked
as suggested to debug but all of the contracts compile fine.currently stuck and would appreciate help.
Rust: rustc 1.56.1
OS: windows subsystem for linux
The text was updated successfully, but these errors were encountered: