get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

GET /api/1.1/patches/2223275/?format=api
HTTP 200 OK
Allow: GET, PUT, PATCH, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "id": 2223275,
    "url": "http://patchwork.ozlabs.org/api/1.1/patches/2223275/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/gcc/patch/20260414231905.191063-13-arthur.cohen@embecosm.com/",
    "project": {
        "id": 17,
        "url": "http://patchwork.ozlabs.org/api/1.1/projects/17/?format=api",
        "name": "GNU Compiler Collection",
        "link_name": "gcc",
        "list_id": "gcc-patches.gcc.gnu.org",
        "list_email": "gcc-patches@gcc.gnu.org",
        "web_url": null,
        "scm_url": null,
        "webscm_url": null
    },
    "msgid": "<20260414231905.191063-13-arthur.cohen@embecosm.com>",
    "date": "2026-04-14T23:18:34",
    "name": "[COMMITTED,13/43] gccrs: Add no_builtins attribute to list of builtins",
    "commit_ref": null,
    "pull_url": null,
    "state": "new",
    "archived": false,
    "hash": "579fd072723b666c8cad13dde4366cffc84a3d0f",
    "submitter": {
        "id": 83476,
        "url": "http://patchwork.ozlabs.org/api/1.1/people/83476/?format=api",
        "name": "Arthur Cohen",
        "email": "arthur.cohen@embecosm.com"
    },
    "delegate": null,
    "mbox": "http://patchwork.ozlabs.org/project/gcc/patch/20260414231905.191063-13-arthur.cohen@embecosm.com/mbox/",
    "series": [
        {
            "id": 499900,
            "url": "http://patchwork.ozlabs.org/api/1.1/series/499900/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/gcc/list/?series=499900",
            "date": "2026-04-14T23:18:24",
            "name": "[COMMITTED,01/43] gccrs: testsuite:Add a testcase for setup_associated_types",
            "version": 1,
            "mbox": "http://patchwork.ozlabs.org/series/499900/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/2223275/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/2223275/checks/",
    "tags": {},
    "headers": {
        "Return-Path": "<gcc-patches-bounces~incoming=patchwork.ozlabs.org@gcc.gnu.org>",
        "X-Original-To": [
            "incoming@patchwork.ozlabs.org",
            "gcc-patches@gcc.gnu.org"
        ],
        "Delivered-To": [
            "patchwork-incoming@legolas.ozlabs.org",
            "gcc-patches@gcc.gnu.org"
        ],
        "Authentication-Results": [
            "legolas.ozlabs.org;\n\tdkim=pass (2048-bit key;\n unprotected) header.d=embecosm.com header.i=@embecosm.com header.a=rsa-sha256\n header.s=google header.b=S1EzlGoL;\n\tdkim-atps=neutral",
            "legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=gcc.gnu.org\n (client-ip=38.145.34.32; helo=vm01.sourceware.org;\n envelope-from=gcc-patches-bounces~incoming=patchwork.ozlabs.org@gcc.gnu.org;\n receiver=patchwork.ozlabs.org)",
            "sourceware.org;\n\tdkim=pass (2048-bit key,\n unprotected) header.d=embecosm.com header.i=@embecosm.com header.a=rsa-sha256\n header.s=google header.b=S1EzlGoL",
            "sourceware.org;\n dmarc=none (p=none dis=none) header.from=embecosm.com",
            "sourceware.org; spf=pass smtp.mailfrom=embecosm.com",
            "server2.sourceware.org;\n arc=none smtp.remote-ip=209.85.128.43"
        ],
        "Received": [
            "from vm01.sourceware.org (vm01.sourceware.org [38.145.34.32])\n\t(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n\t key-exchange x25519 server-signature ECDSA (secp384r1) server-digest SHA384)\n\t(No client certificate requested)\n\tby legolas.ozlabs.org (Postfix) with ESMTPS id 4fwKvx6Mxxz1yHc\n\tfor <incoming@patchwork.ozlabs.org>; Wed, 15 Apr 2026 09:18:37 +1000 (AEST)",
            "from vm01.sourceware.org (localhost [127.0.0.1])\n\tby sourceware.org (Postfix) with ESMTP id E7DD24BA2E04\n\tfor <incoming@patchwork.ozlabs.org>; Tue, 14 Apr 2026 23:18:35 +0000 (GMT)",
            "from mail-wm1-f43.google.com (mail-wm1-f43.google.com\n [209.85.128.43])\n by sourceware.org (Postfix) with ESMTPS id B93C94BA2E2B\n for <gcc-patches@gcc.gnu.org>; Tue, 14 Apr 2026 23:14:28 +0000 (GMT)",
            "by mail-wm1-f43.google.com with SMTP id\n 5b1f17b1804b1-488b8bc6bc9so44107875e9.3\n for <gcc-patches@gcc.gnu.org>; Tue, 14 Apr 2026 16:14:28 -0700 (PDT)",
            "from platypus.localdomain (176-147-231-59.abo.bbox.fr.\n [176.147.231.59]) by smtp.gmail.com with ESMTPSA id\n 5b1f17b1804b1-488f1dd8806sm3325945e9.3.2026.04.14.16.14.26\n (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n Tue, 14 Apr 2026 16:14:26 -0700 (PDT)"
        ],
        "DKIM-Filter": [
            "OpenDKIM Filter v2.11.0 sourceware.org E7DD24BA2E04",
            "OpenDKIM Filter v2.11.0 sourceware.org B93C94BA2E2B"
        ],
        "DMARC-Filter": "OpenDMARC Filter v1.4.2 sourceware.org B93C94BA2E2B",
        "ARC-Filter": "OpenARC Filter v1.0.0 sourceware.org B93C94BA2E2B",
        "ARC-Seal": "i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1776208468; cv=none;\n b=vNaeBwAMNhG3YpX9YyyhAc59cAYjUv3ID771EwpvrNWZbjJcIVCRqns4cW/wCaz+QMSNXQCIpzlIQEjlUa1UPgIm3uM8Epmzwz9UvYPrV5V/lwqtsVOCdooY/SjPfrYTPsYGtItn1OWFjEfjGkNXhtQn7CMJCXKzJGOc6aAlFr0=",
        "ARC-Message-Signature": "i=1; a=rsa-sha256; d=sourceware.org; s=key;\n t=1776208468; c=relaxed/simple;\n bh=EdU9Ru8HRnj4EtKYp44ewA8JiPgh/T+05r+COzob+34=;\n h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version;\n b=g0kz0uwxjSx0fp6jNt/x5kmKjkrvVKlPcVLbuhQVZG80J18VdceYwzkEUKJDnbf7UP2TfmhurxCEcTFADZYTj/bBIVqIlBB9pWoNCni4uHYDAFNmN0PDVsMJruAAXUIlqmx0B9UCNV7bmZ9jVxik37UnlZZMAAhyCt+jg4NHNuY=",
        "ARC-Authentication-Results": "i=1; server2.sourceware.org",
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=embecosm.com; s=google; t=1776208467; x=1776813267; darn=gcc.gnu.org;\n h=content-transfer-encoding:mime-version:references:in-reply-to\n :message-id:date:subject:cc:to:from:from:to:cc:subject:date\n :message-id:reply-to;\n bh=ELvUwHL/bI5A/X94uwlydUVOpKkcpsSL112QfO3Jbvo=;\n b=S1EzlGoLxtlLJCNAb1+hFBT15N4zbqcLbRzWUP2A6xv5ubVMK1LxLaFByN3Hu8gZJq\n G5caI3cZU8aJjcwoaKzzTAEPsspiQCdAZyQfK1klLB222mLD8xVEUU9imIn1qL4qyinI\n tYgjUptDd1jTyD46aouh6A1dhPB+XUQofXNeeCld1stiKl8Bsshi8iUDUOpS58Da/Lbu\n e2CpbnL9hsKMOWnODbaTk5SJp/feXeVWfeDp8qfz1/KHTwxu8d06K/+2f4CxI+xYM6+f\n RtkSBcLQ4Xk96rhEHOVAPoCt8n6GlgtJRk9NE21XcN3NoQZHoeFlZwwCC06SM2Xh5H91\n Jn/Q==",
        "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=1e100.net; s=20251104; t=1776208467; x=1776813267;\n h=content-transfer-encoding:mime-version:references:in-reply-to\n :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from\n :to:cc:subject:date:message-id:reply-to;\n bh=ELvUwHL/bI5A/X94uwlydUVOpKkcpsSL112QfO3Jbvo=;\n b=eIPygOlX4xhs6sHmciMVF6AZ4yGtlyV3kRVt5Q87pXeRud0D4GRMiDySdA0Z10ecFM\n rac3WmUuYAu2v53ubZX8I/iPAvNI2UzwGomSmHcwwoWw3T22MsZp3n/7DfiuAq36VUXd\n VMb3aABrQRG9QavlxWgX/uE7WNSLA2nHxeprkbpIlMEG2Jt9F5Hl5KI3zlOFc8LeKIPH\n abEmjURvXY2rhk938YIuFhjLX6n4py9WIBeqhBvvNcMvZYecpQ/9PXfuni8T9pn7p6Xw\n HXut2+ks1G+UdfJAkUbXH/4HOsmC1btiRUj8rlhmihsXe41gzY1F7lUXIHlxpNFkaiR0\n iq3g==",
        "X-Gm-Message-State": "AOJu0YxRT6+GbxqnmG4Ru7NxIn92Rm8zhP4EeuDeXnKrZCevA1J2XR46\n nLrmGWLO6O7pxMO0BzIHgEUZV1nDsqwLUyPB848/WWx+jP4ZtBGkoa4zB0qiOYkR2NKDQiJjzBH\n /tCBRYQ==",
        "X-Gm-Gg": "AeBDieu+3g8MSOwzEfG+sLWAPlSHf9zMAqg3UyvPBIGiKfHgxni1n7aZR4uUm2vNBka\n aBZOY/JODkRjGzqsHrdxDxMxWrArajou5FA5Z0woz7n8TEJMP07swX+nnmnA4wKN7TVd+HOfrkG\n 29fB274VsOpFPeYqPyeNP7n7PJNPS4BztWg8bPmQ8K3dmm8fICzUG6dMEVu50rYlyA3ZIoExI+c\n EWQUHPDBDHpT+g+riRful/za90CwR6f8om+9xplevJKGCiuXCVHgkY6UXmgln1xP+wBoiYstO5h\n y1iVmYU2RXSHvqibMeL09t7Yv2JBaWcIPUQwKeHA6NdcUnuRQRs4Y744ac1gzB6QM0d7CBG7k1K\n npW4Auu1uvi3pcW92tfwrSROpQbJmIyTA8cxl3MsKmJukd5n9EkKZ/Wi2DaxKUrwib9nbjVC2MU\n Txg91FUB8xnmTuz+hzAII8dckxnS30+8B1mNEON/InYo2Z1XsnBgLsH9nDMsQ8guy+Fv5y4CbHJ\n g0Xmw==",
        "X-Received": "by 2002:a05:600c:a105:b0:486:af22:4a2a with SMTP id\n 5b1f17b1804b1-488d681f281mr186947755e9.7.1776208467376;\n Tue, 14 Apr 2026 16:14:27 -0700 (PDT)",
        "From": "arthur.cohen@embecosm.com",
        "To": "gcc-patches@gcc.gnu.org",
        "Cc": "gcc-rust@gcc.gnu.org,\n Pierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com>",
        "Subject": "[COMMITTED 13/43] gccrs: Add no_builtins attribute to list of\n builtins",
        "Date": "Wed, 15 Apr 2026 01:18:34 +0200",
        "Message-ID": "<20260414231905.191063-13-arthur.cohen@embecosm.com>",
        "X-Mailer": "git-send-email 2.50.1",
        "In-Reply-To": "<20260414231905.191063-1-arthur.cohen@embecosm.com>",
        "References": "<20260414231905.191063-1-arthur.cohen@embecosm.com>",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "X-BeenThere": "gcc-patches@gcc.gnu.org",
        "X-Mailman-Version": "2.1.30",
        "Precedence": "list",
        "List-Id": "Gcc-patches mailing list <gcc-patches.gcc.gnu.org>",
        "List-Unsubscribe": "<https://gcc.gnu.org/mailman/options/gcc-patches>,\n <mailto:gcc-patches-request@gcc.gnu.org?subject=unsubscribe>",
        "List-Archive": "<https://gcc.gnu.org/pipermail/gcc-patches/>",
        "List-Post": "<mailto:gcc-patches@gcc.gnu.org>",
        "List-Help": "<mailto:gcc-patches-request@gcc.gnu.org?subject=help>",
        "List-Subscribe": "<https://gcc.gnu.org/mailman/listinfo/gcc-patches>,\n <mailto:gcc-patches-request@gcc.gnu.org?subject=subscribe>",
        "Errors-To": "gcc-patches-bounces~incoming=patchwork.ozlabs.org@gcc.gnu.org"
    },
    "content": "From: Pierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com>\n\ngcc/rust/ChangeLog:\n\n\t* util/rust-attribute-values.h: Add \"no_builtins\"\n\tattribute value.\n\t* util/rust-attributes.cc: Add \"no_builtins\" to\n\tthe list of builtin attributes.\n\nSigned-off-by: Pierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com>\n---\n gcc/rust/util/rust-attribute-values.h | 1 +\n gcc/rust/util/rust-attributes.cc      | 1 +\n 2 files changed, 2 insertions(+)",
    "diff": "diff --git a/gcc/rust/util/rust-attribute-values.h b/gcc/rust/util/rust-attribute-values.h\nindex 7743d9091c8..a9e07bf015e 100644\n--- a/gcc/rust/util/rust-attribute-values.h\n+++ b/gcc/rust/util/rust-attribute-values.h\n@@ -83,6 +83,7 @@ public:\n     = \"rustc_layout_scalar_valid_range_start\";\n \n   static constexpr auto &COMPILER_BUILTINS = \"compiler_builtins\";\n+  static constexpr auto &NO_BUILTINS = \"no_builtins\";\n \n   static constexpr auto &MAY_DANGLE = \"may_dangle\";\n   static constexpr auto &PRELUDE_IMPORT = \"prelude_import\";\ndiff --git a/gcc/rust/util/rust-attributes.cc b/gcc/rust/util/rust-attributes.cc\nindex cc898971eb9..7c137d06b98 100644\n--- a/gcc/rust/util/rust-attributes.cc\n+++ b/gcc/rust/util/rust-attributes.cc\n@@ -123,6 +123,7 @@ static const BuiltinAttrDefinition __definitions[]\n      // TODO: be careful about calling functions marked with this?\n      {Attrs::RUSTC_ARGS_REQUIRED_CONST, CODE_GENERATION},\n      {Attrs::COMPILER_BUILTINS, CODE_GENERATION},\n+     {Attrs::NO_BUILTINS, CODE_GENERATION},\n      {Attrs::PRELUDE_IMPORT, NAME_RESOLUTION},\n      {Attrs::RUSTC_DIAGNOSTIC_ITEM, STATIC_ANALYSIS},\n      {Attrs::RUSTC_ON_UNIMPLEMENTED, STATIC_ANALYSIS},\n",
    "prefixes": [
        "COMMITTED",
        "13/43"
    ]
}