Skip to content

Commit

Permalink
Fix template
Browse files Browse the repository at this point in the history
  • Loading branch information
alxkzmn committed Nov 26, 2024
1 parent 0fc77cd commit 5a33a9d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion cli/src/template/init/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,5 @@ fn main() {
}
// Finally initialize uniffi and build the scaffolding into the
// rust binary
uniffi::generate_scaffolding(udl_path).unwrap();
uniffi::generate_scaffolding(udl_path.to_str().unwrap()).unwrap();
}
2 changes: 1 addition & 1 deletion docs/docs/setup/rust-setup.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ fn main() {
}
// Finally initialize uniffi and build the scaffolding into the
// rust binary
uniffi::generate_scaffolding(udl_path).unwrap();
uniffi::generate_scaffolding(udl_path.to_str().unwrap()).unwrap();
}
```

Expand Down
2 changes: 1 addition & 1 deletion test-e2e/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ fn main() {
if !udl_path.exists() {
std::fs::write(udl_path, mopro_ffi::app_config::UDL).expect("Failed to write UDL");
}
uniffi::generate_scaffolding("./src/mopro.udl").unwrap();
uniffi::generate_scaffolding(udl_path.to_str().unwrap()).unwrap();
}

fn compile_circom_circuits() {
Expand Down

0 comments on commit 5a33a9d

Please sign in to comment.