From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-lf1-x12f.google.com (mail-lf1-x12f.google.com [IPv6:2a00:1450:4864:20::12f]) by sourceware.org (Postfix) with ESMTPS id BE1723858D28; Tue, 11 Apr 2023 09:10:09 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org BE1723858D28 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-lf1-x12f.google.com with SMTP id d7so20577483lfj.3; Tue, 11 Apr 2023 02:10:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1681204208; x=1683796208; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=pKS4bzXtH0/mWinbfWo7DFMHg9QeUjoSV5DNxKpwYiw=; b=e8cohpZM4A33Lxc5hu3DDHNXdX8xkHWWksVHJSa0PGI72fUP4UUP97d+iqzxrjMLcm rSoPXDOE+yg/lLmqYr8BTslOkBMoJpBzDfuJdAuNaoxC1YySeDiIMCXHogLbnE+CqpHw My73OLlERtX2WdZG6UalvXqDc2mAqND3wjLp5AJcp0d9LiEBCGJmg7ewQ7sPQ9pEK6mT Zf01PQoMiAUU+nswD3wY5aUSdak/vyPRnSYdkEwmpy6/ryoUtZuEgaEUBzshl5uLy8+6 zd5mucwrn4fVP8PXRSDkyaaJBRyTvHbN3XgMDSlKCF8HLjrL0I6VPdltl6dlFS9oAMWl llXQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1681204208; x=1683796208; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=pKS4bzXtH0/mWinbfWo7DFMHg9QeUjoSV5DNxKpwYiw=; b=Wj6Cl2PtKaR6jcZ2bJ1McvMKuKxQGDMiKqG1jOevmPXRcgGZ0d453oPYJEpfd9bCIf dKpON2GIZezFCh1Rp1f1A9SbvgKlVUDe3H14wZK8+V2fxNd0KLSxHmU8iVwbsior20cr UB4lbc0rLGYPUJHkUTHmmmyuNwI9YjmMHBLrh66Ecfr+VDfOX/9rn1RPd6UgBO/XpCvu sbNA0kF4+Ekmiz2FnHUAJTatv3LyVfimyvbvYxsuHff7Hgft1dyPPaBXYzH7ARlYQCCp acQ1O2ZVq4K+gxRfadtiVU/cONVbrmRZBuERqVIo4+TX+F8lF7UBO8+b7X+CI/u9TDSF 1hoQ== X-Gm-Message-State: AAQBX9ezxO3KQsdd+yqMnCg4BCOt8WvW3WBaZRfO47+Jc0qPjkF7uFTA /8TjXuF54ZizIpY0TJ1OSYvaTxvpufqAY66Tw7A= X-Google-Smtp-Source: AKy350b/MVj62Ap1PbnfiXECqaZ97CYv+IJ4y9gBWwUGJSUdikVvrurc9AU1T2HKpx4M8MImHnx/XZaIKHQ6AsLWIMs= X-Received: by 2002:ac2:4e42:0:b0:4e9:c027:5be6 with SMTP id f2-20020ac24e42000000b004e9c0275be6mr3853788lfr.12.1681204207941; Tue, 11 Apr 2023 02:10:07 -0700 (PDT) MIME-Version: 1.0 References: <20230405140411.3016563-1-arthur.cohen@embecosm.com> In-Reply-To: <20230405140411.3016563-1-arthur.cohen@embecosm.com> From: Richard Biener Date: Tue, 11 Apr 2023 11:09:10 +0200 Message-ID: Subject: Re: Rust front-end update 2023-04-05 To: arthur.cohen@embecosm.com Cc: gcc-patches@gcc.gnu.org, gcc-rust@gcc.gnu.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-0.9 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,KAM_NUMSUBJECT,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,TXREP autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: On Wed, Apr 5, 2023 at 4:06=E2=80=AFPM wrote: > > Hi everyone, > > This patchset contains around 80 commits concerning the Rust frontend. > > We have been hard at work trying to get the Rust core library to > compile, and hope to push more commits in the coming days as we try > and upstream a more recent version of gccrs. All of the team has done > a tremendous amount of work in the last few weeks, as we get closer > and closer to compiling libcore 1.49. > > Our focus before GCC 13 releases is to improve the documentation of the > compiler and write more about the various flags used by the frontend, > which a user will need to understand and interact with. > > The commits we will be pushing before GCC 13 releases will not contain > any "major breakthrough", as some functionality required to compile > libcore properly will still take some time to implement. Very often used > Rust macros such as `format_args` are defined within the core library, > and require a high amount of work on the compiler side. > > Furthermore, integrating libcore as part of GCC will require > significant build system changes which are incompatible with the current > GCC stage. We will be making these changes as soon as possible and > integrate a version of libcore in GCC 14, as well as an implementation > of the libproc_macro crate. We will be submitting these patches and > pinging build system experts for extensive reviewing. > > Thank you to everyone involved with the project, and to everyone who > has helped us. Thanks a lot for the update. I see it's still required to use -frust-incomplete-and-experimental-compiler-do-not-use - for GCC 13.1 I would suggest to instead discourage from distributing rust in the documentation and release notes. Do you expect enough progress until GCC 13.2 (which should be about two to three months after GCC 13.1 is released) so that libcore can be comp= iled? If not then I'm not sure it makes much sense to keep rust configurable for GCC 13. On the general note - were you planning to keep the GCC 13 branch copy of r= ust up-to-date with the GCC 14 trunk? Richard. > All the best, > > Arthur > >