use remap-path-prefix in circleci for release builds
This commit is contained in:
parent
a31f1cd13b
commit
bc54c1d454
2 changed files with 2 additions and 1 deletions
|
@ -168,7 +168,7 @@ jobs:
|
|||
- run:
|
||||
name: Build
|
||||
no_output_timeout: "30m"
|
||||
command: << parameters.build-with >> build --target << parameters.target >> --release
|
||||
command: RUSTFLAGS="--remap-path-prefix=$PWD=" << parameters.build-with >> build --target << parameters.target >> --release
|
||||
- tar_artifacts:
|
||||
target: << parameters.target >>
|
||||
publish_artifacts:
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
|
||||
# Exit if any subcommand fails
|
||||
set -e
|
||||
export RUSTFLAGS="--remap-path-prefix=$PWD="
|
||||
|
||||
if [ -n "$WITH_LIBSNARK" ]; then
|
||||
cargo build --release --package zokrates_cli --features="libsnark"
|
||||
|
|
Loading…
Reference in a new issue