get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 2222449,
    "url": "http://patchwork.ozlabs.org/api/patches/2222449/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/gcc/patch/20260411213430.3097-2-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": "<20260411213430.3097-2-gerris.rs@gmail.com>",
    "list_archive_url": null,
    "date": "2026-04-11T21:34:30",
    "name": "[gccrs,COMMIT,2/2] Added test case for global import all",
    "commit_ref": null,
    "pull_url": null,
    "state": "new",
    "archived": false,
    "hash": "5442b74dca73add9d721e30226c27e2624a3192d",
    "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/20260411213430.3097-2-gerris.rs@gmail.com/mbox/",
    "series": [
        {
            "id": 499577,
            "url": "http://patchwork.ozlabs.org/api/series/499577/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/gcc/list/?series=499577",
            "date": "2026-04-11T21:34:29",
            "name": "[gccrs,COMMIT,1/2] Fixed glob-import all ICE",
            "version": 1,
            "mbox": "http://patchwork.ozlabs.org/series/499577/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/2222449/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/2222449/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=20251104 header.b=HZq90tN0;\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=gmail.com header.i=@gmail.com header.a=rsa-sha256\n header.s=20251104 header.b=HZq90tN0",
            "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.222.172"
        ],
        "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 4ftRm8585vz1yCv\n\tfor <incoming@patchwork.ozlabs.org>; Sun, 12 Apr 2026 07:35:19 +1000 (AEST)",
            "from vm01.sourceware.org (localhost [127.0.0.1])\n\tby sourceware.org (Postfix) with ESMTP id 047D14BA23CA\n\tfor <incoming@patchwork.ozlabs.org>; Sat, 11 Apr 2026 21:35:11 +0000 (GMT)",
            "from mail-qk1-f172.google.com (mail-qk1-f172.google.com\n [209.85.222.172])\n by sourceware.org (Postfix) with ESMTPS id CAEF44BA2E15\n for <gcc-patches@gcc.gnu.org>; Sat, 11 Apr 2026 21:34:35 +0000 (GMT)",
            "by mail-qk1-f172.google.com with SMTP id\n af79cd13be357-8dfb9139008so38085385a.1\n for <gcc-patches@gcc.gnu.org>; Sat, 11 Apr 2026 14:34:35 -0700 (PDT)",
            "from\n runnervm35a4x.net0ibprzlqujb4ppu2xd1znfd.ex.internal.cloudapp.net\n ([64.236.177.96]) by smtp.gmail.com with ESMTPSA id\n af79cd13be357-8ddb33a0826sm513468885a.0.2026.04.11.14.34.33\n (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n Sat, 11 Apr 2026 14:34:34 -0700 (PDT)"
        ],
        "DKIM-Filter": [
            "OpenDKIM Filter v2.11.0 sourceware.org 047D14BA23CA",
            "OpenDKIM Filter v2.11.0 sourceware.org CAEF44BA2E15"
        ],
        "DMARC-Filter": "OpenDMARC Filter v1.4.2 sourceware.org CAEF44BA2E15",
        "ARC-Filter": "OpenARC Filter v1.0.0 sourceware.org CAEF44BA2E15",
        "ARC-Seal": "i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1775943275; cv=none;\n b=qtcjZ4TqjBmvby6kMkqmdR/PhVLWHBv9By48yW3utYRhN51WLt3+4+Rs6h5kXuAn2RwH7URNm/f/WGKcqQpT4WwVHm3mGd4zwlya0UJ/iqWDy05OyevxjBnDRfiPtpZDxhaFfI9s/tw4rqcA9eKVU2scw27DEeu3zRCjQSNQPkE=",
        "ARC-Message-Signature": "i=1; a=rsa-sha256; d=sourceware.org; s=key;\n t=1775943275; c=relaxed/simple;\n bh=4x7tQJMUVtvk8J8uJcngdUF4aS30MA/ovCrbmMMvfag=;\n h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version;\n b=lmKwVWwCx0jqrxN1gmcoWj37BkkaAai7tE2Ire+t6U9iWiLMi47cFrAVXp9wrQhTAelTNI7wRkEoZZuDcpHnCr8vPzMx6s3nhf7NqA5DN7CzZRmB+O8J4HnY9RJGQBhKAL2kLmNOnK9WgjjhoiauPsrFw6jaUIIR4g23ASOcMFo=",
        "ARC-Authentication-Results": "i=1; server2.sourceware.org",
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=gmail.com; s=20251104; t=1775943275; x=1776548075; 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=yoYzdDF7u4cY/Yc+NoKSMxNlysReF+ddaCZLbAmx448=;\n b=HZq90tN0fvcaN07YD294vsm1CINEmSYksTSRkogruhWgojQyceItlth7fJRA7vHn6p\n HcZKtjVXNfAExjsJvhCgbmgwRkYqcbk60QCuyMEJ7HEiD0Ag9ZfuCsxA2V0uEOnyh67o\n H+zjdZTyUT10QzCQuMpDQyQoMfqN5bUVpiKnkKLRc4JIBl9s5dOC7BsLkam+XDtBUMDf\n upjxOJDDhlNQnDBaLfebG1zMN7S46bMfr7QtgKL1LJDcDJ8oMVr/B6iKHhAYgb83Q/XJ\n VvI5GouKqIayr8C7O5iZIpSkvIq2stanBoO3sfVZKJM7813SCquNTWLkFW+deZseQbGY\n p0Ng==",
        "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=1e100.net; s=20251104; t=1775943275; x=1776548075;\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=yoYzdDF7u4cY/Yc+NoKSMxNlysReF+ddaCZLbAmx448=;\n b=e5QWZ9zKOiaSHVb9hDjKyXXWLYVEn0eAEm1hn9TEQSFQ9V+TUDI6yytqeCxyO+xEfp\n qqTOm1B2n8ekHSqYe+6/9CYQkcB1cxZ8P4f3KlVc5Rd2qGMm+4Hog+mFtGKakRObBRgr\n JLeoRN4SXxakh31uItStNgWYSkfvj3kBv6fiSb5m7JEvK1reyGhck5MJPmwZNkCcNIoE\n 7viQABqFwEJ87/poApyXTnctTaXdryYixyHwi4UtqMdLVuFBuaPRX7XFqf9wppuf5zF9\n oETFDiBQ4NlFsy0In65pM6B0Eu020czcPZJ68dKvtfsU5RBPDMHlIP1y4ZiriCHN1Ohl\n YyYQ==",
        "X-Gm-Message-State": "AOJu0YwpAsmOIData+1aJue0JAkpK2vTb6pFQd17dU+WAtQQSFpVqU8r\n Pj/99wCUVR8JRjyQgh3kMTWjmYOmtbW5DIP8QRwnvwk6TvKuGEOvz02v9CP/1g==",
        "X-Gm-Gg": "AeBDietrUWKLk/9kpzSW6vVJbqudmfFZ/GmfLOTD7Z+N6fyDpUUl1o8KrXJHqr38oLd\n hbByiwrYklZwWSyWft49sToeLm6RSwTk2Ng+UawCeWimxs11BMR7ibqLaskSYyNO/LQuCwtAzw+\n gGZ8sB4zqbiysaqnaO5g73VR4Om8eB1HbSFclqjY0peC6VnPBc62r0x7oUxCqzD4yKKbr4Exs++\n KOM/TJHZByGhTC4k5PId5nbyz4d9UZLOkF+rjTHBUG+61fJ6aTDw0k3+YQoZOOgnfRw/uY67Dlr\n qA495l0aJNgBC2Q0cNA5rrJsGw07Sz5730TPum4Fkgd0nn3nLjGquV2EpWZt7BWgTVW/s7se2U3\n H7gP9QVWg7OoFaOqipHZQG1zZuc0tDPouuC/DALAe+GlqgwUuzkvg5+gvgktab3HnAjWZkZ2XNc\n uPN5RxxqgEc3iiIeeaAjiT1djxT8DFJYcnHsHw0xMx/tAJehh5SsBENDsZeUfRRdPnFrQhtVKzg\n 1WbGzcOf71tGhvKWFdM2A==",
        "X-Received": "by 2002:a05:620a:3194:b0:8cd:b3ad:63ad with SMTP id\n af79cd13be357-8ddcf7ba569mr1212707285a.34.1775943275114;\n Sat, 11 Apr 2026 14:34:35 -0700 (PDT)",
        "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, AhmedSaid3617 <said.ahmed3617@gmail.com>",
        "Subject": "[gccrs COMMIT 2/2] Added test case for global import all",
        "Date": "Sat, 11 Apr 2026 21:34:30 +0000",
        "Message-ID": "<20260411213430.3097-2-gerris.rs@gmail.com>",
        "X-Mailer": "git-send-email 2.43.0",
        "In-Reply-To": "<20260411213430.3097-1-gerris.rs@gmail.com>",
        "References": "<20260411213430.3097-1-gerris.rs@gmail.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: AhmedSaid3617 <said.ahmed3617@gmail.com>\n\ngcc/testsuite/ChangeLog:\n\n\t* rust/compile/glob-import-all.rs: New test.\n\nSigned-off-by: AhmedSaid3617 <said.ahmed3617@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/4b5342014c474e63ddba03ecebc2828e017d691f\n\nThe commit has been mentioned in the following pull-request(s):\n - https://github.com/Rust-GCC/gccrs/pull/4498\n\n gcc/testsuite/rust/compile/glob-import-all.rs | 9 +++++++++\n 1 file changed, 9 insertions(+)\n create mode 100644 gcc/testsuite/rust/compile/glob-import-all.rs",
    "diff": "diff --git a/gcc/testsuite/rust/compile/glob-import-all.rs b/gcc/testsuite/rust/compile/glob-import-all.rs\nnew file mode 100644\nindex 000000000..9e409ee84\n--- /dev/null\n+++ b/gcc/testsuite/rust/compile/glob-import-all.rs\n@@ -0,0 +1,9 @@\n+// { dg-additional-options \"-frust-edition=2015\" }\n+\n+#![feature(no_core)]\n+#![no_core]\n+\n+mod a {\n+    #[allow(unused)]\n+    use ::*;\n+}\n",
    "prefixes": [
        "gccrs",
        "COMMIT",
        "2/2"
    ]
}