mirror of
https://github.com/neondatabase/neon.git
synced 2026-05-17 21:20:37 +00:00
added linker to env variable
This commit is contained in:
3
.github/workflows/build_and_test.yml
vendored
3
.github/workflows/build_and_test.yml
vendored
@@ -271,12 +271,14 @@ jobs:
|
||||
strict_string_checks=1:check_initialization_order=1:strict_init_order=1:detect_stack_use_after_return=0"
|
||||
UBSAN_OPTIONS="abort_on_error=1:print_stacktrace=1"
|
||||
CC=gcc
|
||||
RUSTFLAGS="-C linker=gcc"
|
||||
elif [[ $BUILD_TYPE == "release" ]]; then
|
||||
cov_prefix=""
|
||||
CARGO_FLAGS="--locked --release"
|
||||
ASAN_OPTIONS=""
|
||||
UBSAN_OPTIONS=""
|
||||
CC=gcc
|
||||
RUSTFLAGS=""
|
||||
fi
|
||||
{
|
||||
echo "cov_prefix=${cov_prefix}"
|
||||
@@ -286,6 +288,7 @@ jobs:
|
||||
echo "ASAN_OPTIONS=${ASAN_OPTIONS}"
|
||||
echo "UBSAN_OPTIONS=${UBSAN_OPTIONS}"
|
||||
echo "CC=${CC}"
|
||||
echo "RUSTFLAGS=${RUSTFLAGS}"
|
||||
} >> $GITHUB_ENV
|
||||
|
||||
# Disabled for now
|
||||
|
||||
Reference in New Issue
Block a user