Skip to content

Commit

Permalink
feat(bindgen): update to --target flag interface
Browse files Browse the repository at this point in the history
  • Loading branch information
ashleygwilliams committed Jul 18, 2019
1 parent 2a7e6ac commit 462cc53
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/bindgen.rs
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ pub fn wasm_bindgen_build(
};
let bindgen_path = bindgen.binary("wasm-bindgen")?;
let target_arg = match target {
Target::Nodejs => "--nodejs",
Target::Nodejs => "--target nodejs",
Target::NoModules => "--no-modules",
Target::Web => {
if supports_web_target(&bindgen_path)? {
Expand Down

0 comments on commit 462cc53

Please sign in to comment.