Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package rust1.75 for openSUSE:Factory checked in at 2024-02-06 16:33:03 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/rust1.75 (Old) and /work/SRC/openSUSE:Factory/.rust1.75.new.1815 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "rust1.75" Tue Feb 6 16:33:03 2024 rev:3 rq:1144414 version:1.75.0 Changes: -------- --- /work/SRC/openSUSE:Factory/rust1.75/rust1.75.changes 2024-01-29 22:26:03.375008412 +0100 +++ /work/SRC/openSUSE:Factory/.rust1.75.new.1815/rust1.75.changes 2024-02-06 16:33:14.632209313 +0100 @@ -1,0 +2,7 @@ +Sat Feb 3 09:32:40 UTC 2024 - Callum Farmer <[email protected]> + +- Add profiler_builtins module needed by Chromium + * Use compiler-rt from Clang on TW +- Disable pgo-branch-weights test - requires gold linker + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ rust1.75.spec ++++++ --- /var/tmp/diff_new_pack.WYpX2T/_old 2024-02-06 16:33:23.972549335 +0100 +++ /var/tmp/diff_new_pack.WYpX2T/_new 2024-02-06 16:33:23.988549918 +0100 @@ -333,6 +333,7 @@ # Use distro provided LLVM on Tumbleweed, but pin it to the matching LLVM! # For details see boo#1192067 BuildRequires: llvm%{llvm_version}-devel +BuildRequires: clang%{llvm_version} Requires: lld%{llvm_version} %endif @@ -526,6 +527,11 @@ RUSTC_LOG=rustc_codegen_ssa::back::link=info %{rust_root}/bin/rustc -C link-args=-Wl,-v ${RUSTFLAGS} main.rs %endif +# Find compiler-rt +%if %{without bundled_llvm} +PATH_TO_LLVM_PROFILER=`echo %{_libdir}/clang/??/lib/linux/libclang_rt.profile-*.a` +%endif + # The configure macro will modify some autoconf-related files, which upsets # cargo when it tries to verify checksums in those files. So we don't use # the macro, as it provides no tangible benefit to our build process. @@ -563,7 +569,10 @@ --enable-extended \ --tools="cargo,rustdoc" \ --release-channel="stable" \ - --set rust.deny-warnings=false + --set rust.deny-warnings=false \ + %{!?with_bundled_llvm: --set target.%{rust_triple}.profiler=${PATH_TO_LLVM_PROFILER}} \ + %{?with_bundled_llvm: --set target.%{rust_triple}.profiler=true} \ + %{nil} # We set deny warnings to false due to a problem where rust upstream didn't test building with # the same version (they did previous ver) @@ -655,6 +664,7 @@ %ifarch aarch64 python3 ./x.py test --target=%{rust_triple} \ --exclude tests/run-make/issue-71519 \ + --exclude tests/run-make/pgo-branch-weights \ --exclude src/tools/tidy \ --exclude src/tools/expand-yaml-anchors \ --exclude tests/ui/methods \ @@ -667,6 +677,7 @@ %else python3 ./x.py test --target=%{rust_triple} \ --exclude tests/run-make/issue-71519 \ + --exclude tests/run-make/pgo-branch-weights \ --exclude src/tools/tidy \ --exclude src/tools/expand-yaml-anchors \ --exclude tests/ui/methods \
