From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm1-x32a.google.com (mail-wm1-x32a.google.com [IPv6:2a00:1450:4864:20::32a]) by sourceware.org (Postfix) with ESMTPS id 7985B3858D38 for ; Wed, 5 Apr 2023 14:05:13 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 7985B3858D38 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=embecosm.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=embecosm.com Received: by mail-wm1-x32a.google.com with SMTP id n19so20970122wms.0 for ; Wed, 05 Apr 2023 07:05:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=embecosm.com; s=google; t=1680703512; h=content-transfer-encoding:mime-version:reply-to:message-id:date :subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to; bh=5ETEnkoF89LSccopMlDqAgdW4F9ldY286sCXLpW3m08=; b=PnARGFBxgb3aa3/unSSB6Ps4IRLvh5IAUKivwlTImDs80N9SN35WU6GCdaIKNmgMtC vxBUmAwK+ic2EN5QzNL04f9ccSYuqjNOseprBFZKbRokvBWXQ/ziq+xbYgP9yY8yC5wX X1vA2Fl7MnKPXmEEHNqrtmY8PnDMcD12ubT5Sh7D91sP3/Q5w88PFS7Dei3APtyBN6WC 1EXcf+u41rmYFKcmJtzJ9uBLXguVjz35/t6MzHngpVwaOGc7QmmWMFRbcP5UIvoabvU+ 1rBdXy+P4gA5/iySSQrgdTOlt8bMgde3aO+8zt4D0S9OKiLLnSJXBRIGvamhYekkNEoz DrWQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680703512; h=content-transfer-encoding:mime-version:reply-to:message-id:date :subject:cc:to:from:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=5ETEnkoF89LSccopMlDqAgdW4F9ldY286sCXLpW3m08=; b=797W6j232hr9pNpkLc+rhue7Nes+OXLXxpjr0gN/R40qqBqe2pZKyBnc5Hn2eLLozw Z/XAiOu9FaRqt0xZy+V0wu57kw2fytUhosA/jX4NM+25Qf1O4dI+HajBF5maUYFtdKyY NiTEpLO853uiHFapV0j9nu4beArAid0hFfp4tGaSKBuTUorOlvL9QJCWRwX3IeDdoCgY 3Tsz9nf3HTudiAA5QJoIVcumMOgAgSuzEBcFwIxBad8YVAjKw96qA9rFutXMKxznIzW2 XgN1oECDpQjcvqnaDVelan72OXZnuN+gdx6Uz9R4kStRJJeIytz8OMpjr9gV7WMksGYW 91zQ== X-Gm-Message-State: AAQBX9faCBY14Yv/naUeAL2skUKBlyG6yJDlWqITOoZjcrujotApPvel vOTZWkU0c6aPo8gvWi0oO7bX X-Google-Smtp-Source: AKy350aRDHpVrfklYsTTz/ZqrVUnSgPY8H3f5wpxK6qlVoChAYpAqT0wq9meOuX/XLi3Up7PpW2P3w== X-Received: by 2002:a7b:cb98:0:b0:3ed:df74:bac7 with SMTP id m24-20020a7bcb98000000b003eddf74bac7mr4865495wmi.21.1680703512176; Wed, 05 Apr 2023 07:05:12 -0700 (PDT) Received: from platypus.localdomain ([62.23.166.218]) by smtp.gmail.com with ESMTPSA id ay8-20020a05600c1e0800b003edddae1068sm2330150wmb.9.2023.04.05.07.05.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 05 Apr 2023 07:05:11 -0700 (PDT) From: arthur.cohen@embecosm.com To: gcc-patches@gcc.gnu.org Cc: gcc-rust@gcc.gnu.org Subject: Rust front-end update 2023-04-05 Date: Wed, 5 Apr 2023 16:02:43 +0200 Message-Id: <20230405140411.3016563-1-arthur.cohen@embecosm.com> X-Mailer: git-send-email 2.40.0 Reply-To: arthur.cohen@embecosm.com MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-8.4 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,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: 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. All the best, Arthur