From nobody Mon May 13 11:03:50 2024 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4VdGng1274z5K0wY; Mon, 13 May 2024 11:03:51 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4VdGng0Pykz4nRw; Mon, 13 May 2024 11:03:51 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1715598231; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=+aljcquHeYJjTwQAW5OWnp3lPzS55/gXRxQS18jBQew=; b=q6hLG7wQFcIRB1RGokwqG2eqImUbZjku+vc4+AvFxHOriOv5YenR1OYcA4CQYCKatoHayZ +sXJtffT+bMz8Roev7gUuDeJTHVyPdVGb06rzU916vALKErXiOtPkhy/ZUkGYw9L9bjaGN ueESzrdEDLB8/1lOmbvC75QKtzxkPyMBidzUuJECIngZ9/Bu68OznsvjV0ipY1VkHGrE6F jr10lUuN9Um5pnii2J9xzPyCFzGGxdbvkUGqThEsX1BWYHMv0oOq1pkovrhc+CoKunijqK mVFqzAtrXw9IiPnNmv6rwYfvkr+nNc2BkzTdAZa57NWaGR9/vMolwvQRNKxJow== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1715598231; a=rsa-sha256; cv=none; b=R5WXE5eax6rrbKupvuhPI1/GBEIKnhGUPg50/gyB978WTLCEmIkFnUK0dW/4GsMv4Rk0jz wah3eirsrTYmDwttwZxqIJo9qr5dH64XOZk1uWMITcQx4V0Tn2x+Z5q3HfAvvtm04d7jN7 xe9igKFtTycEGmUCKn+rAt4gBdJQplxXhdyUJfxZ429MX8UO0FoFw0ryHn3I2ksfZKWLFN IY6qlH1OL17Q2hLEskGYn8ZxGplRMkBE4NnwmEITuiJsKqyj121F4iT0hwIhEXw98YBf5F sooLCAfr2/67joTplc7nN4VMDRXOzz+fFTvyGsH8AxfYjFSp8QWL7kIixtOUxw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1715598231; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=+aljcquHeYJjTwQAW5OWnp3lPzS55/gXRxQS18jBQew=; b=xhBmGAmtv8QExw6yYuTQP9aCgmhE0p2bCbDlRKiYLAe+H9aixJGclerpQWXy1k7bswU0S8 aiaMYWh9zh/I9mwmVZDnamk6oWO0zGKJR4vHjBe0Ald3xKPAyV/hpVicVwwntKWFKLD/mg bUe65mGWIYkqgep2exxocGsmjyB/BgxjbhQXvH3JutJmiSU2mxLs5sPDQA8NNgstUU5r0t OzQBbfmzhmF1NzhaXGUYH2CZE8HbV+XLn6oLYlek39zFimM52MN7Gv/AxhpPMXRpnYqvhb NCKdToVFODPtw0VsbxYC0YsCnbII90kBk4xJw0Dh39dwmiqqtV163Ec5r/ttGg== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4VdGng01SKzlRM; Mon, 13 May 2024 11:03:51 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 44DB3oMa060644; Mon, 13 May 2024 11:03:50 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 44DB3o2I060641; Mon, 13 May 2024 11:03:50 GMT (envelope-from git) Date: Mon, 13 May 2024 11:03:50 GMT Message-Id: <202405131103.44DB3o2I060641@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Mikael Urankar Subject: git: 2a1d35b12b4a - main - lang/rust: remap debuginfo List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-ports-main@freebsd.org Sender: owner-dev-commits-ports-main@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: mikael X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 2a1d35b12b4a41e25840e0f240eec81f448b1cfe Auto-Submitted: auto-generated The branch main has been updated by mikael: URL: https://cgit.FreeBSD.org/ports/commit/?id=2a1d35b12b4a41e25840e0f240eec81f448b1cfe commit 2a1d35b12b4a41e25840e0f240eec81f448b1cfe Author: Dan McGregor AuthorDate: 2024-03-31 12:01:50 +0000 Commit: Mikael Urankar CommitDate: 2024-05-13 11:03:21 +0000 lang/rust: remap debuginfo Prior to this update, when the rust compiler generates warnings or errors that refer to source code for the standard library, its messaging use the build time path, rather than the installed path. It's probably more useful for most users of rust to not have to mentally rename files to find the files in question. PR: 278133 Differential Revision: https://reviews.freebsd.org/D44547 --- lang/rust/Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/lang/rust/Makefile b/lang/rust/Makefile index f7728020d762..f5e569551593 100644 --- a/lang/rust/Makefile +++ b/lang/rust/Makefile @@ -184,6 +184,7 @@ do-configure: .if ${PORT_OPTIONS:MLTO} @${ECHO_CMD} 'lto="thin"' >> ${WRKSRC}/config.toml .endif + @${ECHO_CMD} 'remap-debuginfo=true' >> ${WRKSRC}/config.toml @${ECHO_CMD} '[llvm]' >> ${WRKSRC}/config.toml .if ${PORT_OPTIONS:MLTO} @${ECHO_CMD} 'thin-lto=true' >> ${WRKSRC}/config.toml