Open EzrielS opened 2 years ago
any update on this issue?
Which command do you use to call rust-optimizer?
I had the same problem running this in Fedora with Podman.
The culprit was SELinux.
There's no need to disable SELinux.
Just run it like so:
-docker run \
+podman run \
--rm \
- -v "$(pwd)":/code \
+ -v "$(pwd)":/code:z \
--mount type=volume,source="$(basename "$(pwd)")_cache",target=/code/target \
--mount type=volume,source=registry_cache,target=/usr/local/cargo/registry \
cosmwasm/rust-optimizer:0.12.6
Hello,
I tryed rust-optimizer after compiling the template from cw-template but when I executed it I get
error: could not find Cargo.toml in /code or any parent directory
For information I'm working on wsl, i don't know if that can help. Thanks in advance !