get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 2223269,
    "url": "http://patchwork.ozlabs.org/api/1.2/patches/2223269/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/gcc/patch/20260414231905.191063-5-arthur.cohen@embecosm.com/",
    "project": {
        "id": 17,
        "url": "http://patchwork.ozlabs.org/api/1.2/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": "<20260414231905.191063-5-arthur.cohen@embecosm.com>",
    "list_archive_url": null,
    "date": "2026-04-14T23:18:26",
    "name": "[COMMITTED,05/43] gccrs: rust: Explicitly instantiate FFIVec<Piece> for C-linkage",
    "commit_ref": null,
    "pull_url": null,
    "state": "new",
    "archived": false,
    "hash": "bbee934ccd5f7d105303e9f242846283180942c2",
    "submitter": {
        "id": 83476,
        "url": "http://patchwork.ozlabs.org/api/1.2/people/83476/?format=api",
        "name": "Arthur Cohen",
        "email": "arthur.cohen@embecosm.com"
    },
    "delegate": null,
    "mbox": "http://patchwork.ozlabs.org/project/gcc/patch/20260414231905.191063-5-arthur.cohen@embecosm.com/mbox/",
    "series": [
        {
            "id": 499900,
            "url": "http://patchwork.ozlabs.org/api/1.2/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/2223269/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/2223269/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=embecosm.com header.i=@embecosm.com header.a=rsa-sha256\n header.s=google header.b=eCPn5EfW;\n\tdkim-atps=neutral",
            "legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=gcc.gnu.org\n (client-ip=2620:52:6:3111::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=eCPn5EfW",
            "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.50"
        ],
        "Received": [
            "from vm01.sourceware.org (vm01.sourceware.org\n [IPv6:2620:52:6:3111::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 4fwKqy1gG2z1yHc\n\tfor <incoming@patchwork.ozlabs.org>; Wed, 15 Apr 2026 09:15:10 +1000 (AEST)",
            "from vm01.sourceware.org (localhost [127.0.0.1])\n\tby sourceware.org (Postfix) with ESMTP id 39DC54BA23D2\n\tfor <incoming@patchwork.ozlabs.org>; Tue, 14 Apr 2026 23:15:08 +0000 (GMT)",
            "from mail-wm1-f50.google.com (mail-wm1-f50.google.com\n [209.85.128.50])\n by sourceware.org (Postfix) with ESMTPS id 0501A4BA2E39\n for <gcc-patches@gcc.gnu.org>; Tue, 14 Apr 2026 23:14:17 +0000 (GMT)",
            "by mail-wm1-f50.google.com with SMTP id\n 5b1f17b1804b1-4888375f735so60516375e9.3\n for <gcc-patches@gcc.gnu.org>; Tue, 14 Apr 2026 16:14:16 -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.14\n (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n Tue, 14 Apr 2026 16:14:14 -0700 (PDT)"
        ],
        "DKIM-Filter": [
            "OpenDKIM Filter v2.11.0 sourceware.org 39DC54BA23D2",
            "OpenDKIM Filter v2.11.0 sourceware.org 0501A4BA2E39"
        ],
        "DMARC-Filter": "OpenDMARC Filter v1.4.2 sourceware.org 0501A4BA2E39",
        "ARC-Filter": "OpenARC Filter v1.0.0 sourceware.org 0501A4BA2E39",
        "ARC-Seal": "i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1776208457; cv=none;\n b=CKPgYmSfbGQSi6mVv0rnoL3ByWf/tLBLN/RGmxqLqTuXp83Q9ELrJAgME1990PF/DYuCVUvkKfse/Sf/aHbnHwDYEluzBMie8MoPOI2HQX/NdS1zWoYEFsC02E5FTQfNMq6rwLo+otsg3LXMG2lvfc0sjuDTOtFf2PEWzl2oHN0=",
        "ARC-Message-Signature": "i=1; a=rsa-sha256; d=sourceware.org; s=key;\n t=1776208457; c=relaxed/simple;\n bh=h92qvtNwj08MBDqD4AVgTeeXD6a8Qu9t5oVFj2zY2Gc=;\n h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version;\n b=wOvR6Tqp9liUlJ/8IuSIs7zwqiwBMKGpvCHXSKCTdl7h8Gg+v8gULbD2xqrbYCWrRjbZR442dowWNExzXeFd0q82vzgDxZnK5qRUHBsTxSH51nyPqA7GDeqeUxpTumtFJ1ykawcXdi+E+M+5TtC0xnQnLUXSCWpOAuZo2iCq9Ow=",
        "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=1776208456; x=1776813256; 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=NhASXwjIlgRggCtV90uD9Lk0B8l+kcQ94nX8NCXUmk0=;\n b=eCPn5EfWYEZart2UZM0NNmslnc2Ecw+T57y/c8gd/Ch9eqwK2e0JThEHiL63IAlvke\n 3pHWa4wZYO7yLjfRBjroHECkYT2Uc+quJieLJhoBlZRc5gOhnG3ZbKXooi5Upc260939\n GDOAT43k3EmqWNd3030iUBcLT7sBDP7X/CeIgN8Lr344lbnSUxV9bNqiz5OjDK4bAEvu\n nQBiLEbY9++/PiLqZ0/pYjg4NebR2GCx/gBm4J8BotAp/rFfw1PpVfZadyMyTuREZBNY\n xgF5bxilTqoyLWXIuLsYor/8Yh2AEGTufoZCKBejJmNKNd1KhhgFasZHS8Io8UpTvKfp\n 6qNg==",
        "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=1e100.net; s=20251104; t=1776208456; x=1776813256;\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=NhASXwjIlgRggCtV90uD9Lk0B8l+kcQ94nX8NCXUmk0=;\n b=WIZ3r2O8Lt4Hx2PazkL5OUNdCG7AAEIoynY+ug4iWNTnQ73T2T5QgL4xIrbtZLm6O/\n qc7aKYerdjqChLVyuX7n3WHHnauClyg5O4B8CEfei7Noy9HcsbA/CqU44yt1OI0OQNZL\n 6W1NFD9yYdULcpUDxfhxUoraAvoCGq69OEbFSZOYCx2X+qDFkTHMO41P88Lh1WOToW4W\n ZIpzGe3aP/Xy0P0PA6T+ssLP8jrOwvN22YG4eU07H5HZm8AIAP3bK83icIhiPa2LrOfi\n PT9Hohp7De1H2gFGQzPlFh9j+5ncTbpebZ9D1momwDr60bq8g6oILs5clXDS8vL0G1XE\n y4yg==",
        "X-Gm-Message-State": "AOJu0Yzc2OiS/kgypobkrVy2i2iUrLHJ0HNAPM6e0yxw20j/JqbkFMti\n 0Q8o56kNtW63AOe6kuG+gHEYa0Qq5McBIXrXf+IzjaGTbfbAnro9PLuza7YvoAOANa4owD53DLh\n SoU51Lg==",
        "X-Gm-Gg": "AeBDiesRIeSt+xiQ80AGAg65IpVLdg/tUx/xu8IgF4LBDQ9FePyRln/716YGH4w0LPl\n b/auO+HhSLpJPwc8yV+mRkPmCSLF58qs/ZhFe0Vg8LM6BcYUEWqJ9Mu4yU2frMQuML0M9m4zsfb\n qJCgvO2q4y6wOQ+uoGIlMkI54+jdjx6kqEf3w0jayP/KNrN1+pmG66gN056dhKHblTX6Xogv1X7\n Xm/lBcZ6fB9Wjq3poHumSvUzfKjseEG4lPnWe8XX7xAYyqOu3Z+E5FfV6pKnfAoUc26w6dT+swN\n M5T/IoNt9UJrdz4LUX0bZoab4EDc1sPCG1a7DPSNd1Fpbg7eJphscxtGQBhc3ooDCyDGZThblxd\n uJETGapdnCWPaigCmsEU3W3i8QpgYDk03vpN1cqkxp3/rRJTncIJLomzlBebOON3ILIqtQYyzvU\n f2V5vrtUSWDHPRbeqPTNsHIJfjiatQEiCLZbOz9bCNEmaPbDcml7v1pOZbf+9fkB4vCjPjGo7EL\n s26TA==",
        "X-Received": "by 2002:a05:600c:3b24:b0:488:aa33:dcbd with SMTP id\n 5b1f17b1804b1-488d687a645mr263879095e9.26.1776208455655;\n Tue, 14 Apr 2026 16:14:15 -0700 (PDT)",
        "From": "arthur.cohen@embecosm.com",
        "To": "gcc-patches@gcc.gnu.org",
        "Cc": "gcc-rust@gcc.gnu.org,\n\thriztam <hritamstark05@gmail.com>",
        "Subject": "[COMMITTED 05/43] gccrs: rust: Explicitly instantiate FFIVec<Piece>\n for C-linkage",
        "Date": "Wed, 15 Apr 2026 01:18:26 +0200",
        "Message-ID": "<20260414231905.191063-5-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: hriztam <hritamstark05@gmail.com>\n\ngcc/rust/ChangeLog:\n\n\t* ast/rust-fmt.h: Explicitly instantiate FFIVec<Piece>.\n\nSigned-off-by: Hritam Shrivastava <hritamstark05@gmail.com>\n---\n gcc/rust/ast/rust-fmt.h | 4 ++++\n 1 file changed, 4 insertions(+)",
    "diff": "diff --git a/gcc/rust/ast/rust-fmt.h b/gcc/rust/ast/rust-fmt.h\nindex 4577665dc93..a7741981f53 100644\n--- a/gcc/rust/ast/rust-fmt.h\n+++ b/gcc/rust/ast/rust-fmt.h\n@@ -398,6 +398,10 @@ enum ParseMode\n   InlineAsm,\n };\n \n+// Required to avoid Clang warning about returning an incomplete FFIVec<Piece>\n+// from extern \"C\" functions.\n+template class FFIVec<Piece>;\n+\n extern \"C\" {\n \n FFIVec<Piece> collect_pieces (RustHamster input, bool append_newline,\n",
    "prefixes": [
        "COMMITTED",
        "05/43"
    ]
}