get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 1235099,
    "url": "http://patchwork.ozlabs.org/api/patches/1235099/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/buildroot/patch/20200207180829.165689-11-arnout@mind.be/",
    "project": {
        "id": 27,
        "url": "http://patchwork.ozlabs.org/api/projects/27/?format=api",
        "name": "Buildroot development",
        "link_name": "buildroot",
        "list_id": "buildroot.buildroot.org",
        "list_email": "buildroot@buildroot.org",
        "web_url": "",
        "scm_url": "",
        "webscm_url": "",
        "list_archive_url": "",
        "list_archive_url_format": "",
        "commit_url_format": ""
    },
    "msgid": "<20200207180829.165689-11-arnout@mind.be>",
    "list_archive_url": null,
    "date": "2020-02-07T18:08:29",
    "name": "[v3,10/10] package/cargo-bin: remove and use cargo-bin from rust-bin package",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": false,
    "hash": "cfeeda1be3e84a2fa38d994505804e7a0a371c35",
    "submitter": {
        "id": 11809,
        "url": "http://patchwork.ozlabs.org/api/people/11809/?format=api",
        "name": "Arnout Vandecappelle",
        "email": "arnout@mind.be"
    },
    "delegate": null,
    "mbox": "http://patchwork.ozlabs.org/project/buildroot/patch/20200207180829.165689-11-arnout@mind.be/mbox/",
    "series": [
        {
            "id": 157387,
            "url": "http://patchwork.ozlabs.org/api/series/157387/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/buildroot/list/?series=157387",
            "date": "2020-02-07T18:08:19",
            "name": "Merge rust and cargo",
            "version": 3,
            "mbox": "http://patchwork.ozlabs.org/series/157387/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/1235099/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/1235099/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<buildroot-bounces@busybox.net>",
        "X-Original-To": [
            "incoming-buildroot@patchwork.ozlabs.org",
            "buildroot@lists.busybox.net"
        ],
        "Delivered-To": [
            "patchwork-incoming-buildroot@bilbo.ozlabs.org",
            "buildroot@osuosl.org"
        ],
        "Authentication-Results": [
            "ozlabs.org; spf=pass (sender SPF authorized)\n\tsmtp.mailfrom=busybox.net (client-ip=140.211.166.138;\n\thelo=whitealder.osuosl.org;\n\tenvelope-from=buildroot-bounces@busybox.net;\n\treceiver=<UNKNOWN>)",
            "ozlabs.org;\n\tdmarc=none (p=none dis=none) header.from=mind.be",
            "ozlabs.org;\n\tdkim=fail reason=\"signature verification failed\" (2048-bit key;\n\tunprotected) header.d=mind.be header.i=@mind.be header.a=rsa-sha256\n\theader.s=google header.b=NB8B+oCZ; dkim-atps=neutral"
        ],
        "Received": [
            "from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138])\n\t(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256\n\tbits)) (No client certificate requested)\n\tby ozlabs.org (Postfix) with ESMTPS id 48DjyK2LCdz9sRh\n\tfor <incoming-buildroot@patchwork.ozlabs.org>;\n\tSat,  8 Feb 2020 05:10:17 +1100 (AEDT)",
            "from localhost (localhost [127.0.0.1])\n\tby whitealder.osuosl.org (Postfix) with ESMTP id CCE2F86DCC;\n\tFri,  7 Feb 2020 18:10:15 +0000 (UTC)",
            "from whitealder.osuosl.org ([127.0.0.1])\n\tby localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024)\n\twith ESMTP id geDosT6eosKC; Fri,  7 Feb 2020 18:10:14 +0000 (UTC)",
            "from ash.osuosl.org (ash.osuosl.org [140.211.166.34])\n\tby whitealder.osuosl.org (Postfix) with ESMTP id 7E2A886477;\n\tFri,  7 Feb 2020 18:10:14 +0000 (UTC)",
            "from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138])\n\tby ash.osuosl.org (Postfix) with ESMTP id CFB341BF38E\n\tfor <buildroot@lists.busybox.net>;\n\tFri,  7 Feb 2020 18:09:31 +0000 (UTC)",
            "from localhost (localhost [127.0.0.1])\n\tby whitealder.osuosl.org (Postfix) with ESMTP id C4882824E3\n\tfor <buildroot@lists.busybox.net>;\n\tFri,  7 Feb 2020 18:09:31 +0000 (UTC)",
            "from whitealder.osuosl.org ([127.0.0.1])\n\tby localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024)\n\twith ESMTP id ydxue+x1YYM2 for <buildroot@lists.busybox.net>;\n\tFri,  7 Feb 2020 18:09:30 +0000 (UTC)",
            "from mail-wr1-f67.google.com (mail-wr1-f67.google.com\n\t[209.85.221.67])\n\tby whitealder.osuosl.org (Postfix) with ESMTPS id 7B29481FD3\n\tfor <buildroot@buildroot.org>; Fri,  7 Feb 2020 18:09:30 +0000 (UTC)",
            "by mail-wr1-f67.google.com with SMTP id t3so3747172wru.7\n\tfor <buildroot@buildroot.org>; Fri, 07 Feb 2020 10:09:30 -0800 (PST)",
            "from localhost.localdomain (ip-188-118-3-185.reverse.destiny.be.\n\t[188.118.3.185]) by smtp.gmail.com with ESMTPSA id\n\tt10sm4263487wmi.40.2020.02.07.10.09.27\n\t(version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n\tFri, 07 Feb 2020 10:09:28 -0800 (PST)"
        ],
        "X-Virus-Scanned": [
            "amavisd-new at osuosl.org",
            "amavisd-new at osuosl.org"
        ],
        "X-Greylist": "domain auto-whitelisted by SQLgrey-1.7.6",
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=mind.be; s=google;\n\th=from:to:cc:subject:date:message-id:in-reply-to:references\n\t:mime-version:content-transfer-encoding;\n\tbh=0k4smqZRroyKd+MZHcEPa7FnqiccZ+YwTIHFifZb1iw=;\n\tb=NB8B+oCZ3FpvrsA2TPHB3+yg+nZqetvPc2J2QLXxagM3MDoJpmTAAL3hAYr0Hi3maa\n\t4gTdTWM9TairoDzpd7uwURFOhuqK8J1s+m3ruH9qwN9rJgPVbZZmxCod6TMcNQEiItkB\n\tBGUBlA+eRPcXWn5uyobjx4EEsPKfokjC+h4Q0B7/UHi8nesURq1+oKamVeFM5bz4sApD\n\tVUwhLIgL0DcZ+Xox7g/nkEafnHiRBOtjW1SjQ1DMFvnHqwUrj4xdydbesC74ZOp6EPd2\n\tRFvEyT9LxvX4LM3zxwsE8zY9I+1+1xz6lJTMfST4Mjgq757FSP9yZwsq1jKHAj2hVHa5\n\t61AA==",
        "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20161025;\n\th=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to\n\t:references:mime-version:content-transfer-encoding;\n\tbh=0k4smqZRroyKd+MZHcEPa7FnqiccZ+YwTIHFifZb1iw=;\n\tb=GqgjZuNNNA0Aru0WAWmoaEHuaFY/6F7tV4WtIYPjgiuM/NpR/y9q9jbdEiNcDeQXrg\n\tWcJilAnaR1ddoCq0jHjvWO3ZPfDp+H4+S2TneSDMSABUTqiiKgMgp2MpsO63/IeXuLWm\n\t7cLkqRrX+CCFCokZTPYOvVvjcC8s65VUatLqvUnv14EavNPAMv35BK7Ybzgc9QP/pKxb\n\tprypV8l0VXg3unehCrTrT/NV+85B/M7yXWK/zNgSe2JteEMTd/kpAl7t38TPg0K0qc6x\n\ttkjTCjTUBXxMrG1mdlPPefrCavXp9serSqloVqI6u4vpwBrrZkQaB2OBKq2jjU6kbFNp\n\tQQGg==",
        "X-Gm-Message-State": "APjAAAXzQIQc8pVviXrgFiaEtz6mKAMNz06mFiyx7KSJ1CiNFikz6e4Z\n\tqjXyOUjSV5TZj3HT3444XE82sDgvSPg=",
        "X-Google-Smtp-Source": "APXvYqzBDlo1ZUVmb75E0hCiRTxPCq1cvuKK9TubOm/x8kddTk3BgMlJldsFuJufaxnT01HmfbkPHQ==",
        "X-Received": "by 2002:a5d:4fce:: with SMTP id h14mr315354wrw.60.1581098968684; \n\tFri, 07 Feb 2020 10:09:28 -0800 (PST)",
        "From": "\"Arnout Vandecappelle (Essensium/Mind)\" <arnout@mind.be>",
        "To": "buildroot@buildroot.org",
        "Date": "Fri,  7 Feb 2020 19:08:29 +0100",
        "Message-Id": "<20200207180829.165689-11-arnout@mind.be>",
        "X-Mailer": "git-send-email 2.24.1",
        "In-Reply-To": "<20200207180829.165689-1-arnout@mind.be>",
        "References": "<20200207180829.165689-1-arnout@mind.be>",
        "MIME-Version": "1.0",
        "Subject": "[Buildroot] [PATCH v3 10/10] package/cargo-bin: remove and use\n\tcargo-bin from rust-bin package",
        "X-BeenThere": "buildroot@busybox.net",
        "X-Mailman-Version": "2.1.29",
        "Precedence": "list",
        "List-Id": "Discussion and development of buildroot <buildroot.busybox.net>",
        "List-Unsubscribe": "<http://lists.busybox.net/mailman/options/buildroot>,\n\t<mailto:buildroot-request@busybox.net?subject=unsubscribe>",
        "List-Archive": "<http://lists.busybox.net/pipermail/buildroot/>",
        "List-Post": "<mailto:buildroot@busybox.net>",
        "List-Help": "<mailto:buildroot-request@busybox.net?subject=help>",
        "List-Subscribe": "<http://lists.busybox.net/mailman/listinfo/buildroot>,\n\t<mailto:buildroot-request@busybox.net?subject=subscribe>",
        "Cc": "Eric Le Bihan <eric.le.bihan.dev@free.fr>,\n\tPatrick Havelange <patrick.havelange@essensium.com>",
        "Content-Type": "text/plain; charset=\"us-ascii\"",
        "Content-Transfer-Encoding": "7bit",
        "Errors-To": "buildroot-bounces@busybox.net",
        "Sender": "\"buildroot\" <buildroot-bounces@busybox.net>"
    },
    "content": "From: Patrick Havelange <patrick.havelange@essensium.com>\n\nRust upstream distributes tarballs with separate rust and cargo\nbinaries, but also tarballs with everything together. The latter\ncontains a bit more than what we need, so the download is slightly\nlarger than separate cargo-bin and rust-bin. But it simplifies our life\nif we do the same in rust-bin as in rust (i.e. get both rust and cargo).\n\nAlso added hashes for rust-bin powerpc64le, which was missing before.\n\nSigned-off-by: Patrick Havelange <patrick.havelange@essensium.com>\nSigned-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>\n---\n DEVELOPERS                       |  1 -\n package/cargo-bin/cargo-bin.hash | 13 -------------\n package/cargo-bin/cargo-bin.mk   | 19 -------------------\n package/rust-bin/rust-bin.hash   | 15 +++++++++------\n package/rust-bin/rust-bin.mk     | 28 ++++++++++++----------------\n package/rust/rust.mk             |  2 +-\n 6 files changed, 22 insertions(+), 56 deletions(-)\n delete mode 100644 package/cargo-bin/cargo-bin.hash\n delete mode 100644 package/cargo-bin/cargo-bin.mk",
    "diff": "diff --git a/DEVELOPERS b/DEVELOPERS\nindex e0f6e7278c..ace16c06e6 100644\n--- a/DEVELOPERS\n+++ b/DEVELOPERS\n@@ -708,7 +708,6 @@ F:\tpackage/gstreamer1/gst1-plugins-bayer2rgb-neon/\n N:\tEric Le Bihan <eric.le.bihan.dev@free.fr>\n F:\tdocs/manual/adding-packages-meson.txt\n F:\tpackage/adwaita-icon-theme/\n-F:\tpackage/cargo-bin/\n F:\tpackage/darkhttpd/\n F:\tpackage/eudev/\n F:\tpackage/execline/\ndiff --git a/package/cargo-bin/cargo-bin.hash b/package/cargo-bin/cargo-bin.hash\ndeleted file mode 100644\nindex 22cad3c0ee..0000000000\n--- a/package/cargo-bin/cargo-bin.hash\n+++ /dev/null\n@@ -1,13 +0,0 @@\n-# From https://static.rust-lang.org/dist/cargo-0.41.0-i686-unknown-linux-gnu.tar.xz.sha256\n-# Verified using https://static.rust-lang.org/dist/cargo-0.41.0-i686-unknown-linux-gnu.tar.xz.asc\n-sha256 c48bc132f4025ff39b1b6dc52aef9d406c3f926ce05fe92d943ceab7a5fd6058  cargo-0.41.0-i686-unknown-linux-gnu.tar.xz\n-# From https://static.rust-lang.org/dist/cargo-0.41.0-powerpc64le-unknown-linux-gnu.tar.xz.sha256\n-# Verified using https://static.rust-lang.org/dist/cargo-0.41.0-powerpc64le-unknown-linux-gnu.tar.xz.asc\n-sha256 7705f21d938a72ba6f01818661b2dea29183209940a335f18d1761e1e03d3710  cargo-0.41.0-powerpc64le-unknown-linux-gnu.tar.xz\n-# From https://static.rust-lang.org/dist/cargo-0.41.0-x86_64-unknown-linux-gnu.tar.xz.sha256\n-# Verified using https://static.rust-lang.org/dist/cargo-0.41.0-x86_64-unknown-linux-gnu.tar.xz.asc\n-sha256 9b6ae643fa240c5ecbc1dc390f4020b6a683f25bac6f7437ebd4b9d32a8d0b6c  cargo-0.41.0-x86_64-unknown-linux-gnu.tar.xz\n-# Locally generated\n-sha256 8ada45cd9f843acf64e4722ae262c622a2b3b3007c7310ef36ac1061a30f6adb  LICENSE-APACHE\n-sha256 23f18e03dc49df91622fe2a76176497404e46ced8a715d9d2b67a7446571cca3  LICENSE-MIT\n-sha256 cbc759b1f17a2ac38fe3eb9e9563b1a08ba0f900611c49faaf68b46907b6d898  LICENSE-THIRD-PARTY\ndiff --git a/package/cargo-bin/cargo-bin.mk b/package/cargo-bin/cargo-bin.mk\ndeleted file mode 100644\nindex 246fdbf856..0000000000\n--- a/package/cargo-bin/cargo-bin.mk\n+++ /dev/null\n@@ -1,19 +0,0 @@\n-################################################################################\n-#\n-# cargo-bin\n-#\n-################################################################################\n-\n-CARGO_BIN_VERSION = 0.41.0\n-CARGO_BIN_SITE = https://static.rust-lang.org/dist\n-CARGO_BIN_SOURCE = cargo-$(CARGO_BIN_VERSION)-$(RUSTC_HOST_NAME).tar.xz\n-CARGO_BIN_LICENSE = Apache-2.0 or MIT\n-CARGO_BIN_LICENSE_FILES = LICENSE-APACHE LICENSE-MIT\n-\n-ifeq ($(BR2_PACKAGE_HOST_RUST_BIN),y)\n-define HOST_CARGO_BIN_INSTALL_CMDS\n-\t$(@D)/install.sh --prefix=$(HOST_DIR) --disable-ldconfig\n-endef\n-endif\n-\n-$(eval $(host-generic-package))\ndiff --git a/package/rust-bin/rust-bin.hash b/package/rust-bin/rust-bin.hash\nindex 12195f2911..1fdce9ad6f 100644\n--- a/package/rust-bin/rust-bin.hash\n+++ b/package/rust-bin/rust-bin.hash\n@@ -1,9 +1,12 @@\n-# From https://static.rust-lang.org/dist/rustc-1.40.0-i686-unknown-linux-gnu.tar.xz.sha256\n-# Verified using https://static.rust-lang.org/dist/rustc-1.40.0-i686-unknown-linux-gnu.tar.xz.asc\n-sha256 257e4789043098a5e3b4fa85ea988019f37d640a10f83d39ada00fb23e057b8a  rustc-1.40.0-i686-unknown-linux-gnu.tar.xz\n-# From https://static.rust-lang.org/dist/rustc-1.40.0-x86_64-unknown-linux-gnu.tar.xz.sha256\n-# Verified using https://static.rust-lang.org/dist/rustc-1.40.0-x86_64-unknown-linux-gnu.tar.xz.asc\n-sha256 b1c00618b7a98156e88b14682508a503284f85748eab23de749a20dcc8847111  rustc-1.40.0-x86_64-unknown-linux-gnu.tar.xz\n+# From https://static.rust-lang.org/dist/rust-1.40.0-i686-unknown-linux-gnu.tar.xz.sha256\n+# Verified using https://static.rust-lang.org/dist/rust-1.40.0-i686-unknown-linux-gnu.tar.xz.asc\n+sha256 82454e1b60b2bc24779d9c949cc0e1da43f3e423dbfc6b45b5afddf65829fc9d  rust-1.40.0-i686-unknown-linux-gnu.tar.xz\n+# From https://static.rust-lang.org/dist/rust-1.40.0-x86_64-unknown-linux-gnu.tar.xz.sha256\n+# Verified using https://static.rust-lang.org/dist/rust-1.40.0-x86_64-unknown-linux-gnu.tar.xz.asc\n+sha256 37492d6467bcea611b2c7388aed50b655524f81410e255142ef6cfb6cef1ec53  rust-1.40.0-x86_64-unknown-linux-gnu.tar.xz\n+# From https://static.rust-lang.org/dist/rust-1.40.0-powerpc64le-unknown-linux-gnu.tar.xz.sha256\n+# Verified using https://static.rust-lang.org/dist/rust-1.40.0-powerpc64le-unknown-linux-gnu.tar.xz.asc\n+sha256 82454e1b60b2bc24779d9c949cc0e1da43f3e423dbfc6b45b5afddf65829fc9d  rust-1.40.0-powerpc64le-unknown-linux-gnu.tar.xz\n # From https://static.rust-lang.org/dist/rust-std-1.40.0-aarch64-unknown-linux-gnu.tar.xz.sha256\n # Verified using https://static.rust-lang.org/dist/rust-std-1.40.0-aarch64-unknown-linux-gnu.tar.xz.asc\n sha256 1abd1865e8339c2cac6992a11f6f98b66fa2b97f67acaddcf1992e39a7001bfc  rust-std-1.40.0-aarch64-unknown-linux-gnu.tar.xz\ndiff --git a/package/rust-bin/rust-bin.mk b/package/rust-bin/rust-bin.mk\nindex a5966768a4..be8d623aa2 100644\n--- a/package/rust-bin/rust-bin.mk\n+++ b/package/rust-bin/rust-bin.mk\n@@ -10,18 +10,14 @@ RUST_BIN_LICENSE = Apache-2.0 or MIT\n RUST_BIN_LICENSE_FILES = LICENSE-APACHE LICENSE-MIT\n \n HOST_RUST_BIN_PROVIDES = host-rustc\n-HOST_RUST_BIN_DEPENDENCIES = host-cargo-bin\n \n-HOST_RUST_BIN_SOURCE = rustc-$(RUST_BIN_VERSION)-$(RUSTC_HOST_NAME).tar.xz\n-\n-HOST_RUST_BIN_EXTRA_DOWNLOADS = \\\n-\trust-std-$(RUST_BIN_VERSION)-$(RUSTC_HOST_NAME).tar.xz\n+HOST_RUST_BIN_SOURCE = rust-$(RUST_BIN_VERSION)-$(RUSTC_HOST_NAME).tar.xz\n \n ifeq ($(BR2_PACKAGE_HOST_RUSTC_TARGET_ARCH_SUPPORTS),y)\n-HOST_RUST_BIN_EXTRA_DOWNLOADS += rust-std-$(RUST_BIN_VERSION)-$(RUSTC_TARGET_NAME).tar.xz\n+HOST_RUST_BIN_EXTRA_DOWNLOADS = rust-std-$(RUST_BIN_VERSION)-$(RUSTC_TARGET_NAME).tar.xz\n endif\n \n-HOST_RUST_BIN_LIBSTD_HOST_PREFIX = rust-std-$(RUST_BIN_VERSION)-$(RUSTC_HOST_NAME)/rust-std-$(RUSTC_HOST_NAME)\n+HOST_RUST_BIN_LIBSTD_HOST_PREFIX = rust-std-$(RUSTC_HOST_NAME)\n \n define HOST_RUST_BIN_LIBSTD_EXTRACT\n \tmkdir -p $(@D)/std\n@@ -31,36 +27,36 @@ define HOST_RUST_BIN_LIBSTD_EXTRACT\n \t)\n \tmkdir -p $(@D)/rustc/lib/rustlib/$(RUSTC_HOST_NAME)/lib\n \tcd $(@D)/rustc/lib/rustlib/$(RUSTC_HOST_NAME)/lib; \\\n-\t\tln -sf ../../../../../std/$(HOST_RUST_BIN_LIBSTD_HOST_PREFIX)/lib/rustlib/$(RUSTC_HOST_NAME)/lib/* .\n+\t\tln -sf ../../../../../$(HOST_RUST_BIN_LIBSTD_HOST_PREFIX)/lib/rustlib/$(RUSTC_HOST_NAME)/lib/* .\n endef\n \n HOST_RUST_BIN_POST_EXTRACT_HOOKS += HOST_RUST_BIN_LIBSTD_EXTRACT\n \n-HOST_RUST_BIN_INSTALL_OPTS = \\\n+HOST_RUST_BIN_INSTALL_COMMON_OPTS = \\\n \t--prefix=$(HOST_DIR) \\\n \t--disable-ldconfig\n \n+HOST_RUST_BIN_INSTALL_OPTS = \\\n+\t$(HOST_RUST_BIN_INSTALL_COMMON_OPTS) \\\n+\t--components=rustc,cargo,rust-std-$(RUSTC_HOST_NAME)\n+\n define HOST_RUST_BIN_INSTALL_RUSTC\n \t(cd $(@D); \\\n \t\t./install.sh $(HOST_RUST_BIN_INSTALL_OPTS))\n endef\n \n-define HOST_RUST_BIN_INSTALL_LIBSTD_HOST\n-\t(cd $(@D)/std/rust-std-$(RUST_BIN_VERSION)-$(RUSTC_HOST_NAME); \\\n-\t\t./install.sh $(HOST_RUST_BIN_INSTALL_OPTS))\n-endef\n-\n ifeq ($(BR2_PACKAGE_HOST_RUSTC_TARGET_ARCH_SUPPORTS),y)\n define HOST_RUST_BIN_INSTALL_LIBSTD_TARGET\n \t(cd $(@D)/std/rust-std-$(RUST_BIN_VERSION)-$(RUSTC_TARGET_NAME); \\\n-\t\t./install.sh $(HOST_RUST_BIN_INSTALL_OPTS))\n+\t\t./install.sh $(HOST_RUST_BIN_INSTALL_COMMON_OPTS))\n endef\n endif\n \n define HOST_RUST_BIN_INSTALL_CMDS\n \t$(HOST_RUST_BIN_INSTALL_RUSTC)\n-\t$(HOST_RUST_BIN_INSTALL_LIBSTD_HOST)\n \t$(HOST_RUST_BIN_INSTALL_LIBSTD_TARGET)\n endef\n \n+HOST_RUST_BIN_POST_INSTALL_HOOKS += HOST_RUST_INSTALL_CARGO_CONFIG\n+\n $(eval $(host-generic-package))\ndiff --git a/package/rust/rust.mk b/package/rust/rust.mk\nindex cc3cf1bd01..a81aa6dc2b 100644\n--- a/package/rust/rust.mk\n+++ b/package/rust/rust.mk\n@@ -41,7 +41,7 @@ define HOST_RUST_CONFIGURE_CMDS\n \t( \\\n \t\techo '[build]'; \\\n \t\techo 'target = [\"$(RUSTC_TARGET_NAME)\"]'; \\\n-\t\techo 'cargo = \"$(HOST_CARGO_BIN_DIR)/cargo/bin/cargo\"'; \\\n+\t\techo 'cargo = \"$(HOST_RUST_BIN_DIR)/cargo/bin/cargo\"'; \\\n \t\techo 'rustc = \"$(HOST_RUST_BIN_DIR)/rustc/bin/rustc\"'; \\\n \t\techo 'python = \"$(HOST_DIR)/bin/python2\"'; \\\n \t\techo 'submodules = false'; \\\n",
    "prefixes": [
        "v3",
        "10/10"
    ]
}