Skip to content
This repository has been archived by the owner on Apr 9, 2024. It is now read-only.

Commit

Permalink
fix: change to bin dir instead of result symlink
Browse files Browse the repository at this point in the history
  • Loading branch information
kobyhallx committed Aug 1, 2023
1 parent 1d226b2 commit 783d410
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,9 @@ jobs:
working-directory: ./acvm_js
run: |
nix build -L "github:AztecProtocol/barretenberg?rev=65e651d04c6092cb5ca079cd9e12ed9b5846fa3a#wasm32"
mkdir -p bin
cp result/bin/barretenberg.wasm ./bin/
check_n_test:
needs: barretenberg-job
name: cargo check & test
Expand Down
2 changes: 1 addition & 1 deletion acvm_js/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ fn main() -> Result<(), String> {
Ok(())
} else {
let current_dir = std::env::current_dir().unwrap();
let bin_path = current_dir.join("result").join("bin");
let bin_path = current_dir.join("bin");
let wasm_path = bin_path.join(BB_WASM);
let bin_path_string = bin_path.to_string_lossy();
if wasm_path.exists() && wasm_path.is_file() {
Expand Down

0 comments on commit 783d410

Please sign in to comment.