We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8a812db commit 1f7212bCopy full SHA for 1f7212b
.gitlab/build-profiler.sh
@@ -43,7 +43,7 @@ echo "${CARGO_TARGET_DIR}"
43
if [ "$thread_safety" = "zts" ]; then
44
touch build.rs # Ensure build.rs executes after switch-php for ZTS
45
fi
46
-cargo build --profile profiler-release
+RUSTFLAGS="-L native=$(dirname "$(gcc -print-file-name=libssp_nonshared.a)")" RUSTC_BOOTSTRAP=1 cargo build -Zbuild-std=std,panic_abort --target "${TRIPLET:?}" --profile profiler-release
47
cd -
48
49
cp -v "${CARGO_TARGET_DIR}/profiler-release/libdatadog_php_profiling.so" "${output_file}"
0 commit comments