diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c2fadc3a..96c88f83 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -51,6 +51,8 @@ jobs: feature: cuda - os: macOS feature: default + - os: macOS + feature: metal env: FEATURE: ${{ matrix.feature }} RISC0_SKIP_BUILD: 1 diff --git a/host/src/lib.rs b/host/src/lib.rs index 1c2fed3a..e0a90ae4 100644 --- a/host/src/lib.rs +++ b/host/src/lib.rs @@ -52,7 +52,7 @@ pub fn save_receipt(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()