when running the docker command to compile
docker run --rm -v "$(pwd)":/code \
--mount type=volume,source="$(basename "$(pwd)")_cache",target=/code/target \
--mount type=volume,source=registry_cache,target=/usr/local/cargo/registry \
cosmwasm/workspace-optimizer:0.12.3
I get a error of
thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: Os { code: 20, kind: NotADirectory, message: "Not a directory" }', src/main.rs:58:14
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
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
when running the docker command to compile
I get a error of
I have done
npm installin 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 --lockedas 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