We need to build dump_syms into separate vendored sources - to avoid collision with cbindgen

This commit is contained in:
Jan Horak 2023-11-10 14:56:28 +01:00
parent cb96cce64f
commit 8bc6287eb9

View File

@ -40,7 +40,7 @@ ExcludeArch: i686
# https://bugzilla.redhat.com/show_bug.cgi?id=1951606
%global enable_mozilla_crashreporter 0
%ifarch x86_64 %{ix86}
%global enable_mozilla_crashreporter 0
%global enable_mozilla_crashreporter 1
%endif
%if %{build_with_asan}
%global enable_mozilla_crashreporter 0
@ -711,8 +711,8 @@ export CBINDGEN=/usr/bin/cbindgen
%endif
%if %{enable_mozilla_crashreporter}
mkdir -p my_rust_vendor
cd my_rust_vendor
mkdir -p my_rust_vendor_dump_syms
cd my_rust_vendor_dump_syms
tar xf %{SOURCE3}
mkdir -p .cargo
cat > .cargo/config <<EOL