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 d4a7122 commit 8de3b1fCopy full SHA for 8de3b1f
compile_rust.sh
@@ -9,4 +9,10 @@ if test -n "$SHARED"; then
9
RUSTFLAGS="$RUSTFLAGS --cfg php_shared_build"
10
fi
11
12
+case "${host_os}" in
13
+ darwin*)
14
+ RUSTFLAGS="$RUSTFLAGS -Clink-arg=-undefined -Clink-arg=dynamic_lookup";
15
+ ;;
16
+esac
17
+
18
RUSTFLAGS="$RUSTFLAGS" RUSTC_BOOTSTRAP=1 "${DDTRACE_CARGO:-cargo}" build $(test "${PROFILE:-debug}" = "debug" || echo --profile "$PROFILE") "$@"
0 commit comments