get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 2194983,
    "url": "http://patchwork.ozlabs.org/api/patches/2194983/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/gcc/patch/20260210110107.2927-1-gerris.rs@gmail.com/",
    "project": {
        "id": 17,
        "url": "http://patchwork.ozlabs.org/api/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,
        "list_archive_url": "",
        "list_archive_url_format": "",
        "commit_url_format": ""
    },
    "msgid": "<20260210110107.2927-1-gerris.rs@gmail.com>",
    "list_archive_url": null,
    "date": "2026-02-10T11:01:07",
    "name": "[gccrs,COMMIT] Make AST::Crate final",
    "commit_ref": null,
    "pull_url": null,
    "state": "new",
    "archived": false,
    "hash": "0ee17b5cab2940d4837b89dfd05bab260d30c588",
    "submitter": {
        "id": 92092,
        "url": "http://patchwork.ozlabs.org/api/people/92092/?format=api",
        "name": null,
        "email": "gerris.rs@gmail.com"
    },
    "delegate": null,
    "mbox": "http://patchwork.ozlabs.org/project/gcc/patch/20260210110107.2927-1-gerris.rs@gmail.com/mbox/",
    "series": [
        {
            "id": 491651,
            "url": "http://patchwork.ozlabs.org/api/series/491651/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/gcc/list/?series=491651",
            "date": "2026-02-10T11:01:07",
            "name": "[gccrs,COMMIT] Make AST::Crate final",
            "version": 1,
            "mbox": "http://patchwork.ozlabs.org/series/491651/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/2194983/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/2194983/checks/",
    "tags": {},
    "related": [],
    "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=gmail.com header.i=@gmail.com header.a=rsa-sha256\n header.s=20230601 header.b=hAzX1V0r;\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=gmail.com header.i=@gmail.com header.a=rsa-sha256\n header.s=20230601 header.b=hAzX1V0r",
            "sourceware.org;\n dmarc=pass (p=none dis=none) header.from=gmail.com",
            "sourceware.org; spf=pass smtp.mailfrom=gmail.com",
            "server2.sourceware.org;\n arc=none smtp.remote-ip=209.85.219.52"
        ],
        "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 4f9JXs6FcQz1xvb\n\tfor <incoming@patchwork.ozlabs.org>; Tue, 10 Feb 2026 22:01:48 +1100 (AEDT)",
            "from vm01.sourceware.org (localhost [127.0.0.1])\n\tby sourceware.org (Postfix) with ESMTP id 74F674CF3078\n\tfor <incoming@patchwork.ozlabs.org>; Tue, 10 Feb 2026 11:01:46 +0000 (GMT)",
            "from mail-qv1-f52.google.com (mail-qv1-f52.google.com\n [209.85.219.52])\n by sourceware.org (Postfix) with ESMTPS id 382A14CD2029\n for <gcc-patches@gcc.gnu.org>; Tue, 10 Feb 2026 11:01:10 +0000 (GMT)",
            "by mail-qv1-f52.google.com with SMTP id\n 6a1803df08f44-8946f12b1cfso60409516d6.0\n for <gcc-patches@gcc.gnu.org>; Tue, 10 Feb 2026 03:01:10 -0800 (PST)",
            "from\n runnervmwffz4.xyzs513huevuljhxakirjdzfba.cx.internal.cloudapp.net\n ([172.172.86.227]) by smtp.gmail.com with ESMTPSA id\n 6a1803df08f44-8953c06d74fsm98126976d6.49.2026.02.10.03.01.08\n (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n Tue, 10 Feb 2026 03:01:09 -0800 (PST)"
        ],
        "DKIM-Filter": [
            "OpenDKIM Filter v2.11.0 sourceware.org 74F674CF3078",
            "OpenDKIM Filter v2.11.0 sourceware.org 382A14CD2029"
        ],
        "DMARC-Filter": "OpenDMARC Filter v1.4.2 sourceware.org 382A14CD2029",
        "ARC-Filter": "OpenARC Filter v1.0.0 sourceware.org 382A14CD2029",
        "ARC-Seal": "i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1770721270; cv=none;\n b=SHJqAjkNHdZFKaV/Mg4ztwnu3LE0Z98lfEyq0t5tplj5bwSpPFrheW5HYOPAgz9jB5Q6Q/we/gZImaElXf1doHfkXznHbrCGuvvHnFyCTLhgFotuy1GZwfB4JspnTTi5BHqhJJPH4yeJd0UcvRIv/pYaUeSUU4BqiPM/SljokLM=",
        "ARC-Message-Signature": "i=1; a=rsa-sha256; d=sourceware.org; s=key;\n t=1770721270; c=relaxed/simple;\n bh=GoPHOqXBNT5RMKIHhrkm0VxWnXjKK2HZuBjQstGp2bo=;\n h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version;\n b=daD9eTcpZfeVcR6ZDU8QQAXq+FQUSem0oaDsmvS/mizXhQH9XjjOsBne7NwI3uO1kijO0mGznM14lrRacgvrGVQLhPXIoYk+qex9VPwfny/Pqy4hgjVqBKBM9xP5HPYmMSIpRmYNY2ULtxkxn+nTu9A5FmhFkQ7US5brG1+w/ns=",
        "ARC-Authentication-Results": "i=1; server2.sourceware.org",
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=gmail.com; s=20230601; t=1770721270; x=1771326070; darn=gcc.gnu.org;\n h=content-transfer-encoding:mime-version:message-id:date:subject:cc\n :to:from:from:to:cc:subject:date:message-id:reply-to;\n bh=4yUQUaOeyGA9RGq8MjAbPHpjtaJocXSpEVV5STRlUBw=;\n b=hAzX1V0rW/WTQI1wJ0Uh7BKvYH5t82+h/H+j4E+4MDajS0voONY/bwBOeM2xeaI/HP\n yUppR1naOyqej4i8HGY5ht/LXvk5DnAsTG/cwvUVE0M4qsKAQisO/tSNlEl1l0kTb54z\n IfB5cY1jnqdY9kglWIzhvTqEfL3lOU8QyxXSz+VPcp/l+BhpS5or8lHnLWNgaaIGp6ec\n 9uVLdPwA94fH2qbYeuNwfyLSUaCW/dyvMDs1L5s8NkeGZQV9QZJL3CsCUxncDfpCreRD\n 8LqKqvu+1ntqdWjV7dR7tr4BiL3XkcLhAZ7vFhgh0FGJ+2vWPwfis+ex53hK16u3NVso\n 7pjQ==",
        "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=1e100.net; s=20230601; t=1770721270; x=1771326070;\n h=content-transfer-encoding:mime-version:message-id:date:subject:cc\n :to:from:x-gm-gg:x-gm-message-state:from:to:cc:subject:date\n :message-id:reply-to;\n bh=4yUQUaOeyGA9RGq8MjAbPHpjtaJocXSpEVV5STRlUBw=;\n b=ZZoLPXMArugwV6JqSvKtGvTr3Osi3yamSAifun+AMvEJPRkpXdL+nAEu2HX39V1fB4\n d4hFbbsDp/mOxSaH2P9MUomhcDITW7WI5gIPzyIZ4zK7HuM0hv44xmAiFnY9YxqjDcK7\n D+p12G9mnx1YNCo1UXEdWTgfblRs8HCfhpL7gzJJH9918xT3nbd1fXnsshxqJkzOarTF\n nwdH0EIei4w2JgtCB0z3QMRnZtW5DTV8x2zc78XbFYTgW6Vma1MshQ0E7DC7H/5oRsqG\n g9o7a+oZ608HZBUD2bq2juTmPWikKEVIYbCo23yfYO3QstZ1UwBEHoUNEIBtd2IIIB7+\n 0xUg==",
        "X-Gm-Message-State": "AOJu0YzbJ1IJgVgcFAq10zF2prhQ7EvLZzTo7WVQzwLPlWblH1/4DFL3\n 1sbN/W8XX7dlTj+N89mlRNq4XdIC33+JoTFAX+FrrY9Q6D5bvOPR3cheXMSfMg==",
        "X-Gm-Gg": "AZuq6aJjFA33wCN/70tYkKZ41nSnZKDfuUAgsnJR4rOnHrJLXAeyNV9OgXEyqHH7HzU\n wqC6xeZ+2GTFrLyeOBjusTH8L/Gk13nNRMneRhrZ4wrS+9LG4MiAAWdayH9cAlA1FO/agTrMGug\n 1JTUdcmYxUgwG0wHYqwToiOnyWN6IbBeOg4i9d/4GWMbtfY+D9pkJi41PxFOm4yh6ksdW01cBxz\n Exuh/+uHmUFKpQYmQP5v4M0M06SjpwH5gbq0IWtHf5tVEop8vejQMOEKrSli4g0OQ+2OmSTvUXY\n PhgsBl4LocdZ3uQYpAUoefIzYKCFGL0zVLjx5+Iq7lLGMgf0owS0oz+JuMZlHw7SewTRnolsyys\n cPS5eLGYbNGGzHMFTq2Jwh/b9b4HeXsAJxpdsENIeUOo91ghB16FOBQzn6JOEut7QHjE6usgFeL\n IaWH/xZv3SC8Y6lRPe/fJwoS3fCeRCT0g5dSzJ+Omfa30krLhDUWLIL6JHAwoJ0XfxXTqfQTn1p\n WaqhIf1ru9Ynp14PVBwtg==",
        "X-Received": "by 2002:ad4:4ea2:0:b0:895:829:4875 with SMTP id\n 6a1803df08f44-8953c7a9f0fmr212287756d6.2.1770721269560;\n Tue, 10 Feb 2026 03:01:09 -0800 (PST)",
        "From": "gerris.rs@gmail.com",
        "To": "gcc-patches@gcc.gnu.org,\n\tgcc-rust@gcc.gnu.org",
        "Cc": "pierre-emmanuel.patry@embecosm.com, arthur.cohen@embecosm.com,\n dkm+gccrs@kataplop.net, Owen Avery <powerboat9.gamer@gmail.com>",
        "Subject": "[gccrs COMMIT] Make AST::Crate final",
        "Date": "Tue, 10 Feb 2026 11:01:07 +0000",
        "Message-ID": "<20260210110107.2927-1-gerris.rs@gmail.com>",
        "X-Mailer": "git-send-email 2.43.0",
        "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: Owen Avery <powerboat9.gamer@gmail.com>\n\nThis should prevent the warnings which seem to be breaking\nbootstrapping.\n\ngcc/rust/ChangeLog:\n\n\t* ast/rust-ast.h (struct Crate): Make final.\n\nSigned-off-by: Owen Avery <powerboat9.gamer@gmail.com>\n---\nThis change was merged into the gccrs repository and is posted here for\nupstream visibility and potential drive-by review, as requested by GCC\nrelease managers.\nEach commit email contains a link to its details on github from where you can\nfind the Pull-Request and associated discussions.\n\n\nCommit on github: https://github.com/Rust-GCC/gccrs/commit/f24240c2b2aad3e28586033e89ff3627162d3aa7\n\nThe commit has been mentioned in the following pull-request(s):\n - https://github.com/Rust-GCC/gccrs/pull/4418\n\n gcc/rust/ast/rust-ast.h | 2 +-\n 1 file changed, 1 insertion(+), 1 deletion(-)\n\n\nbase-commit: 252649e2acc7b6ac2dc997ed7951f387fb6c5eef",
    "diff": "diff --git a/gcc/rust/ast/rust-ast.h b/gcc/rust/ast/rust-ast.h\nindex 02fbb52a2..2e7eaa81e 100644\n--- a/gcc/rust/ast/rust-ast.h\n+++ b/gcc/rust/ast/rust-ast.h\n@@ -2056,7 +2056,7 @@ public:\n };\n \n // A crate AST object - holds all the data for a single compilation unit\n-struct Crate : public GlobContainer\n+struct Crate final : public GlobContainer\n {\n   std::vector<Attribute> inner_attrs;\n   // dodgy spacing required here\n",
    "prefixes": [
        "gccrs",
        "COMMIT"
    ]
}