FreeBSD Bugzilla – Attachment 250599 Details for
Bug 278834
lang/rust: Update to 1.78.0
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
v0
0012-lang-rust-disable-RUST_BACKTRACE-on-ppc64le-only.patch (text/plain), 1.32 KB, created by
Mikael Urankar
on 2024-05-12 15:33:03 UTC
(
hide
)
Description:
v0
Filename:
MIME Type:
Creator:
Mikael Urankar
Created:
2024-05-12 15:33:03 UTC
Size:
1.32 KB
patch
obsolete
>From dca3db2ec0d845d3444a763c79fdf248f4869899 Mon Sep 17 00:00:00 2001 >From: Mikael Urankar <mikael@FreeBSD.org> >Date: Sun, 12 May 2024 17:30:40 +0200 >Subject: [PATCH] lang/rust: disable RUST_BACKTRACE on ppc64le only > >--- > Mk/Uses/cargo.mk | 2 +- > lang/rust/Makefile | 5 ++++- > 2 files changed, 5 insertions(+), 2 deletions(-) > >diff --git a/Mk/Uses/cargo.mk b/Mk/Uses/cargo.mk >index f8514819923..b6f9af00f11 100644 >--- a/Mk/Uses/cargo.mk >+++ b/Mk/Uses/cargo.mk >@@ -135,7 +135,7 @@ CARGO_ENV+= \ > RUSTDOC=${RUSTDOC} \ > RUSTFLAGS="${RUSTFLAGS} ${LDFLAGS:C/.+/-C link-arg=&/}" > >-. if ${ARCH} != powerpc >+. if ${ARCH} != powerpc64le > CARGO_ENV+= RUST_BACKTRACE=1 > . endif > >diff --git a/lang/rust/Makefile b/lang/rust/Makefile >index 224b3c9f934..860c8ad75ce 100644 >--- a/lang/rust/Makefile >+++ b/lang/rust/Makefile >@@ -34,7 +34,6 @@ CPE_VENDOR= rust-lang > > MAKE_ENV= DESTDIR=${STAGEDIR} \ > LIBGIT2_NO_PKG_CONFIG=1 \ >- RUST_BACKTRACE=1 \ > OPENSSL_DIR="${OPENSSLBASE}" > TEST_ENV= ${MAKE_ENV} \ > ALLOW_NONZERO_RLIMIT_CORE=1 >@@ -109,6 +108,10 @@ _RUST_TOOLS+= rls > _COMPONENTS+= rls-${_PACKAGE_VERS}-${_RUST_TARGET} > .endif > >+.if ${ARCH} != powerpc64le >+MAKE_ENV+= RUST_BACKTRACE=1 >+.endif >+ > # per https://rust-lang.github.io/rustup/concepts/components.html > # rustc-dev is only usefull on nightly > .if defined(NIGHTLY_DATE) >-- >2.43.0 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 278834
:
250509
| 250599