added linker to env variable

This commit is contained in:
Abhijeet Patil
2024-01-18 17:05:53 +00:00
parent cfa6424c66
commit 8ac7061888

View File

@@ -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