From nobody Tue Aug 26 22:59:53 2025 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 4cBNQy1lRdz65H9V; Tue, 26 Aug 2025 22:59:54 +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 "R12" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4cBNQy16lCz3WVn; Tue, 26 Aug 2025 22:59:54 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1756249194; 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=AtTRauxogEL+NLQFDdRiac7cqAeunysoSi0tZhUExcs=; b=ojFXqExMv8+HcL6pve4dGMzZgSYqVfP4GEyFf/6LWWYBP7HXQifjSJGIwr67awkP/5jl8V UsR0QVXtXn2qXPNcJ1/Qx5oprJ8002BrxRfx24FrMXb8OpfNDktxDrfN165UdhqCxGk0qi B25voGnN7xWXSVLwGQ1VZKtZeqds/IrM1cfnUKYMFKiZs9S7BYLNl8+VHF3O+b+itmT9IY zBYe7i4ygVvvSps4GVagv+nHrVQngEAw3KYgzOCTKvA91oZOkDOK+k72IX2ehEdxPdABgA PnCUgzx4WXVZ8WVWMSn9IRzwhco3LCGTm8eL9eNUt48MJ+Q5x2M7KG65mfmuww== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1756249194; 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=AtTRauxogEL+NLQFDdRiac7cqAeunysoSi0tZhUExcs=; b=QBNR7KrHv/ZxKex0U0eU9seW0FPBt2QbUSDeQdPvuEl+AsqqrNsI/DJ2C5hg3xq9X7mwNG 4LndVh9aTuF8Yez14o31/UHnPfPf/PRhpy8uPAndKrXZgPdUs/MC2oCcOzl7M3KUKP5uQ8 sRj+9/Q0o82cqFDEn3zgrJ6oy5hlUWZ1heHIwNPaVSWt+VnMGhxLvEMvHq9hIJGAsu8R+Z HwevboNP0oqNPUUcx59WvfSyTg3nQcGGzVW+4G0ATvG1tfdHaJ033X7ybOmGNT945X5ETe i5e7TuaZBy2W+9wZcDB6TAzgKB0b4OAsQ/stbrPtbwhAaIwqBXvksyyaqpsQ8A== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1756249194; a=rsa-sha256; cv=none; b=au4Awe5WALiKRoCdohQBkgQqzDJ29ceIDWN6P8yMK4NrXkWaP2REv3LSJw9PcrHpXSGjhN TO8sJ4Q92vNHElxfAf+eBwXGVYRxwiaVWlcCzLbrDz66oTC3LmyNaD5WRFFgL1i1XBF3Bj BUUOo6fTqWpgdKqBQ+QBeF747VBDv9xt6ngTblUzRmcw0FvDtef7UWOcZ16OmvOCkQqcPh Fy9dnAel6p463Ik2JHKhFlYT2CBW5d6JCtpan/CCK8oL4hMpz1maTZ61IJ5EPPMoz/jgii 7hj9xIpZbPY5Hkr8H7SJXKXctR5oVAj+KmtXmWEhJJavGmQnoGOvKNkAdrBw+Q== ARC-Authentication-Results: i=1; mx1.freebsd.org; none 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 4cBNQy0MFjzwC2; Tue, 26 Aug 2025 22:59:54 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 57QMxr5r021687; Tue, 26 Aug 2025 22:59:53 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 57QMxr4J021684; Tue, 26 Aug 2025 22:59:53 GMT (envelope-from git) Date: Tue, 26 Aug 2025 22:59:53 GMT Message-Id: <202508262259.57QMxr4J021684@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Hiroki Tagato Subject: git: 3232ee234966 - main - devel/electron32: fix build with rust 1.89.0 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: tagattie X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 3232ee23496672bac77c6d69d02add9e639035a5 Auto-Submitted: auto-generated The branch main has been updated by tagattie: URL: https://cgit.FreeBSD.org/ports/commit/?id=3232ee23496672bac77c6d69d02add9e639035a5 commit 3232ee23496672bac77c6d69d02add9e639035a5 Author: Mikael Urankar AuthorDate: 2025-08-26 22:56:37 +0000 Commit: Hiroki Tagato CommitDate: 2025-08-26 22:59:36 +0000 devel/electron32: fix build with rust 1.89.0 Obtained from: https://chromium.googlesource.com/chromium/src/+/6aae0e2353c857d98980ff677bf304288d7c58de Pull Request: https://github.com/tagattie/FreeBSD-Electron/pull/165 --- devel/electron32/files/patch-build_rust_allocator_lib.rs | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/devel/electron32/files/patch-build_rust_allocator_lib.rs b/devel/electron32/files/patch-build_rust_allocator_lib.rs index 89fddf278294..d5733d6745ce 100644 --- a/devel/electron32/files/patch-build_rust_allocator_lib.rs +++ b/devel/electron32/files/patch-build_rust_allocator_lib.rs @@ -1,6 +1,6 @@ ---- build/rust/allocator/lib.rs.orig 2025-05-20 09:16:26 UTC +--- build/rust/allocator/lib.rs.orig 2025-08-26 22:27:28 UTC +++ build/rust/allocator/lib.rs -@@ -0,0 +1,119 @@ +@@ -0,0 +1,125 @@ +// Copyright 2025 The Chromium Authors +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. @@ -92,6 +92,12 @@ + /// As part of rustc's contract for using `#[global_allocator]` without + /// rustc-generated shims we must define this symbol, since we are opting in + /// to unstable functionality. See https://github.com/rust-lang/rust/issues/123015 ++ #[rustc_std_internal_symbol] ++ #[linkage = "weak"] ++ fn __rust_no_alloc_shim_is_unstable_v2() {} ++ ++ // TODO(crbug.com/422538133) Remove after rolling past ++ // https://github.com/rust-lang/rust/pull/141061 + #[no_mangle] + #[linkage = "weak"] + static __rust_no_alloc_shim_is_unstable: u8 = 0;