Skip to content

Commit

Permalink
Update build-rust
Browse files Browse the repository at this point in the history
  • Loading branch information
wtfsck committed Aug 19, 2021
1 parent f004812 commit 5fb3efe
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion build/build-rust
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,11 @@ build_test_current_version() {
cargo build --color always --release --features "serde code_asm"

echo "==== TEST RELEASE ===="
cargo test --color always --release --features "serde $test_code_asm_feat"
extra_args=""
if [ "$test_code_asm" != "y" ]; then
extra_args="-- --skip lib.rs"
fi
cargo test --color always --release --features "serde $test_code_asm_feat" $extra_args

# Make sure the two read-mem methods behave the same
# Also test serde code. It needs encoder to also test 'db x,y,z', see serde tests
Expand Down

0 comments on commit 5fb3efe

Please sign in to comment.