How to reproduce:
prerequisites:
- rust 1.38-nightly (2019-08-08) + target wasm32-unknown-unknown
- hc 0.0.40-alpha1
(installed not with holonix but with the command cargo install hc --force --git https://github.com/holochain/holochain-rust.git --tag v0.0.40-alpha1
)
steps:
- create a new repo and cd into it with hc init some-app; cd some-app
- create a zome with hc generate zomes/zome1 rust-proc
- run hc package
The last lines of the compilation log are:
Compiling zome1 v0.1.0 (/Users/me/src/github.com/pacio-core/some-app/zomes/zome1/code)
Finished release [optimized] target(s) in 3m 19s
> wasm-gc target/wasm32-unknown-unknown/release/zome1.wasm
Error: Couldn't traverse DNA in directory "/Users/me/src/github.com/pacio-core/some-app": No such file or directory (os error 2)
Is this a known behavior ? If not, is there something I can try as a workaround ?
Thanks.
Edit: just confirmed the same happening:
- with or without the rust-proc zome template
- with 0.0.39-alpha4