Skip to content

Commit

Permalink
clippy fix + metal build
Browse files Browse the repository at this point in the history
  • Loading branch information
hashcashier committed Aug 31, 2024
1 parent a8cacb5 commit f9472aa
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,8 @@ jobs:
feature: cuda
- os: macOS
feature: default
- os: macOS
feature: metal
env:
FEATURE: ${{ matrix.feature }}
RISC0_SKIP_BUILD: 1
Expand Down
2 changes: 1 addition & 1 deletion host/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ pub fn save_receipt<T: serde::Serialize>(receipt_label: &String, receipt_data: &

fn zkp_cache_path(receipt_label: &String) -> String {
let dir = Path::new("cache_zkp");
std::fs::create_dir_all(&dir).expect("Could not create directory");
fs::create_dir_all(dir).expect("Could not create directory");
dir.join(format!("{}.zkp", receipt_label))
.to_str()
.unwrap()
Expand Down

0 comments on commit f9472aa

Please sign in to comment.