Skip to content

Commit

Permalink
wasm_bindgen: allow target name with directory
Browse files Browse the repository at this point in the history
  • Loading branch information
matt-duch committed Jul 24, 2024
1 parent 6b10ce3 commit bba2ca7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wasm_bindgen/private/wasm_bindgen.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ def rust_wasm_bindgen_action(ctx, toolchain, wasm_file, target_output, bindgen_f
args = ctx.actions.args()
args.add("--target", target_output)
args.add("--out-dir", bindgen_wasm_module.dirname)
args.add("--out-name", ctx.label.name)
args.add("--out-name", ctx.label.name.split("/").pop())
args.add_all(bindgen_flags)
args.add(input_file)

Expand Down

0 comments on commit bba2ca7

Please sign in to comment.