Skip to content

Snippets are missing in wasm_bindgen output #1342

Open
@rharink

Description

@rharink

Hi, I'm generating wasm bindings via rust_wasm_bindgen for a web target.

Everything compiles as expected, the .js and .d.ts files are generated, but the snippets directory is missing from the output. The snippets are required by the generatged .jsfile.

When I manually execute the wasm-bindgen-cli command (extracted via bazel build --subcommands) and I change the --out-dir I see the snippets being generated.

How can I copy these to the final output dir, is this a bug? Or am I missing something?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions