Commit 7d01789 1 parent d6deb0c commit 7d01789 Copy full SHA for 7d01789
File tree 3 files changed +4
-3
lines changed
3 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ require_command wasm-opt
30
30
31
31
self_path=$( dirname " $( readlink -f " $0 " ) " )
32
32
export pname=$( toml2json < ${self_path} /Cargo.toml | jq -r .package.name)
33
- export CARGO_TARGET_DIR=$self_path /target
33
+ export CARGO_TARGET_DIR=$self_path /../../ target
34
34
35
35
rm -rf $self_path /outputs > /dev/null 2>&1
36
36
rm -rf $self_path /result > /dev/null 2>&1
Original file line number Diff line number Diff line change 25
25
26
26
# TODO: Handle the wasm target being built in release mode
27
27
TARGET=wasm32-unknown-unknown
28
- WASM_BINARY=${self_path} /../../target /${TARGET} /release/${pname} .wasm
28
+ WASM_BINARY=${CARGO_TARGET_DIR} /${TARGET} /release/${pname} .wasm
29
29
30
30
NODE_DIR=${self_path} /pkg/nodejs/
31
31
BROWSER_DIR=${self_path} /pkg/web/
Original file line number Diff line number Diff line change 88
88
BARRETENBERG_BIN_DIR = "${ pkgs . barretenberg-wasm } /bin" ;
89
89
} ;
90
90
91
- testEnvironment = sharedEnvironment // { } ;
91
+ testEnvironment = sharedEnvironment // { } ;
92
92
93
93
# The `self.rev` property is only available when the working tree is not dirty
94
94
GIT_COMMIT = if ( self ? rev ) then self . rev else "unknown" ;
295
295
COMMIT_SHORT = builtins . substring 0 7 GIT_COMMIT ;
296
296
VERSION_APPENDIX = if GIT_DIRTY == "true" then "-dirty" else "" ;
297
297
PKG_PATH = "./pkg" ;
298
+ CARGO_TARGET_DIR = "./target" ;
298
299
299
300
nativeBuildInputs = with pkgs ; [
300
301
which
You can’t perform that action at this time.
0 commit comments