Skip to content

Commit

Permalink
Update self-build call signature
Browse files Browse the repository at this point in the history
  • Loading branch information
kajacx committed Jul 21, 2023
1 parent cb58f51 commit f4f00a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/self_build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ fn main() -> Result<()> {
valid_lifting_optimization: false,
};

let transpiled = js_component_bindgen::transpile(adapted_component, opts)?;
let transpiled = js_component_bindgen::transpile(&adapted_component, opts)?;

for (filename, contents) in transpiled.files.iter() {
let outfile = PathBuf::from("./obj").join(filename);
Expand Down

0 comments on commit f4f00a5

Please sign in to comment.