Skip to content
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

publish.yml workflow fails on recent master #2620

Closed
jimblandy opened this issue Apr 21, 2022 · 3 comments
Closed

publish.yml workflow fails on recent master #2620

jimblandy opened this issue Apr 21, 2022 · 3 comments

Comments

@jimblandy
Copy link
Member

Our CI for updating the examples on the wgpu.rs web site is failing on the current examples.

I updated the gecko branch to 0b61a19, and the "Generate JS bindings for WebGPU examples" step failed:

  for i in target/wasm32-unknown-unknown/release/examples/*.wasm;
  do
    wasm-bindgen --no-typescript --out-dir target/generated-gpu --web "$i";
  done
  shell: /usr/bin/bash -e {0}
  env:
    RUSTFLAGS: --cfg=web_sys_unstable_apis
thread 'main' panicked at 'index out of bounds: the len is 0 but the index is 0', /home/runner/.cargo/registry/src/github.com-1ecc6299db9ec823/wasm-bindgen-cli-support-0.2.80/src/descriptor.rs:208:15
@cwfitzgerald
Copy link
Member

This is almost certainly the wasm-bindgen cli mismatching with the version of wasm-bindgen we're using as a library. They must match exactly.

@jimblandy
Copy link
Member Author

#2624 should fix this

@jimblandy
Copy link
Member Author

Fixed in c226a10.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants