You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 3, 2023. It is now read-only.
Suggested fix: do some magic string munging in hc generate to make sure the .hcbuild file always looks for a snake_case build artifact, but that feels fragile because it relies on upstream behaviour that's subject to change.
Another suggested fix: just enforce snake_case from the get-go.
pdaoust
changed the title
snake-case zomes fail to compile
kebab-case zomes fail to compile
Apr 10, 2020
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Steps to reproduce:
hc init my-dna
cd my-dna
hc generate zomes/kebab-case
hc package
Output:
As you can see, it compiles fine, but then when
wasm-gc
looks for the artifactkebab-case.wasm
it can't find it. Looking in the target dir, it exists askebab_case.wasm
. Seems that cargo and rustc default to snake_casing the build artifact's filename, and there's no way for cargo to pass an explicit filename to rustc yet.The text was updated successfully, but these errors were encountered: