From patchwork Thu Oct 1 12:56:29 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Benhur T X-Patchwork-Id: 99825 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id EE0F2CA5FD4 for ; Thu, 1 Oct 2026 12:57:09 +0000 (UTC) Received: from PA4PR04CU001.outbound.protection.outlook.com (PA4PR04CU001.outbound.protection.outlook.com [40.107.162.67]) by mx.groups.io with SMTP id smtpd.msgproc01-g2.10612.1790859426344980316 for ; Thu, 01 Oct 2026 05:57:07 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="dkim: body hash did not verify" header.i=@est.tech header.s=selector1 header.b=MtgVNwpJ; spf=pass (domain: est.tech, ip: 40.107.162.67, mailfrom: benhur.tessele@est.tech) ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=m5N0/tthNUKCZ4j1cELFQXLXIEplJHzjbuihNpQLHdXPruWr/gfiNaeYahH9vck5wwlxP0kW45qZ+YS6kScEK1rSosr4/q7Ybs65ZM+Vvc8i71IsIJSuLKYZ4f4yhJF22U0n3sg+MjyTWJrkIjFWChuzSjoA6TgWeGu0SYYfBeyH/yv39YaA203Uc2jUlgJ0sBVELuNCwmBZnRNAj18pqo2KL/1xoTjWHzqxncIQMuHy45YOnC1Jl2lrl6bZlQjjGhqq9zKZxjgdIQf43BmpMsWqdMLX+fZZIyt0/m26BLOgxjgV2X7jz6FbqEZy2w46tRwdy+WZ6QQnZJQ18kKPHA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=NW2n4gSplBmceDlWDQRXb9YHUUaJLfhRzGaq7hzM3uY=; b=Bo3ZmkckNgArUPB36LV6Ptn411H50ffpEPmU9CwzWQdk9itA9XleqW7MW/QyitMgNK+sPnwDG/QxKf9CNdR0eQNwXa8mxbeZXzs5Hewoa6Ropo39eCeF14n/RDmAx3SDj9civxqB4VJ9OvIXXZjKYyhAlT7aC1VW1RJJ7F5kHFP20eG7DA81UKSgRNKgWXwcLhMjhKiBTm/XT08CmiAb8wnbozY5v9rRYql1ZtvxRrZPONJjFSoTnkSzxnrFzFGP0hG3UkHqRIGRpukC6OW5XvVr/HggCJ1ap1NhHZMUbpQxCMuy4qqcbjIUQHhv1sY7GRnyEaOkGqPSeJbkebCMxA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=est.tech; dmarc=pass action=none header.from=est.tech; dkim=pass header.d=est.tech; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=est.tech; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=NW2n4gSplBmceDlWDQRXb9YHUUaJLfhRzGaq7hzM3uY=; b=MtgVNwpJfcRzvM6XqBdxNaIyOasYMEeaiNd6ajkD/3CYf/iypjnFPQDJX80sqyXvoG4T4JY3Q8qebbCMtANTXXYP5kLL7sASG/M24GnNihbi6ivZxlR7I1gElvJVMVv42v33WAkr1Rz3nykhCI0xFYvgTrozW87X90+tLNzEg3EvfMDhPF+4lygFtZIDp3W1tgCJA71Ctici6EhZtCT3rGq9TwbNuDDWAyxNWSvHaBltlIPhVqMVudo4lxswBuuJVAtlJWLi8ot2TKnlnu2lsLook5QFcUlJKQZ7mmyao+LHvgLGSF+TGNzbMpmb//DNJysMHVWqQG8PpwC0VUeIQw== Authentication-Results: mx.microsoft.com 1; dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=est.tech; Received: from PAWP189MB2572.EURP189.PROD.OUTLOOK.COM (2603:10a6:102:35a::16) by GV4P189MB3559.EURP189.PROD.OUTLOOK.COM (2603:10a6:150:2bb::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.21.472.18; Thu, 1 Oct 2026 12:57:04 +0000 Received: from PAWP189MB2572.EURP189.PROD.OUTLOOK.COM ([fe80::5da2:7509:7be5:d74f]) by PAWP189MB2572.EURP189.PROD.OUTLOOK.COM ([fe80::5da2:7509:7be5:d74f%6]) with mapi id 15.21.0472.016; Thu, 1 Oct 2026 12:57:04 +0000 From: Benhur Tessele To: openembedded-core@lists.openembedded.org CC: Randy MacLeod , Benhur Tessele Subject: [PATCH 1/2] rust: package rust-analyzer as rust-tools-analyzer Date: Thu, 1 Oct 2026 14:56:29 +0200 Message-ID: <20261001125630.760962-2-benhur.tessele@est.tech> X-Mailer: git-send-email 2.55.0 In-Reply-To: <20261001125630.760962-1-benhur.tessele@est.tech> References: <20261001125630.760962-1-benhur.tessele@est.tech> X-ClientProxiedBy: BE1P281CA0230.DEUP281.PROD.OUTLOOK.COM (2603:10a6:b10:8c::15) To PAWP189MB2572.EURP189.PROD.OUTLOOK.COM (2603:10a6:102:35a::16) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: PAWP189MB2572:EE_|GV4P189MB3559:EE_ X-MS-Office365-Filtering-Correlation-Id: e91bb956-d0de-4025-b02c-08df1fbb7e35 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|376014|1800799024|366016|23010399003|10067099003|56012099006|6133799003|11063799006|5023799004|22082099003|18002099003; X-Microsoft-Antispam-Message-Info: 5o7oGAv+j9TuhQ07pEpnDfzxGnfZdfaIbSpALVK+jT2kIvBH0uqcrsS6O5n/saw59CaRxWDzVJr9HQR+UvDvVfoJOMItZb28t4Y2nlkPdw4yXu3u0qGXZvgSuU6JKTKBdYBbRJTqkkOSdvjBBrML3En2zbBR7ERRYOAIkwn79DN53GYWWbv+EEKr+1qL226lrbQp+ZAS7BhbuA+cWbfOVJSG/JoDUJqcFiJ/fH6aYkUeC5p9+NAYDLHPnqch4uila134R2RAmQSjlBN7lLJxp7gP4I4k0TJsczBQPLS1ShrKqo5PokvpFG7VlVsM+HeshRTB80TR0uoW1sCcMoL5Q/wzdeYvifQWuNFoE2reP2qbmy3jA2ryvCWvPvm2YLhgKNkBsmkpUHvhy6yrY9WVHuztIFf1WnkLmnry3khhOtkaebE+KIytqts2y1dTiSCjObKuIRyLeDPO0K7PNE1WzBxwn7aiUO0wNw0746S6DU9C5At6bT3qA7Ps5ZK2cvyKq7xuTccegvRqptNhmoqpjnpLAFsE9gI/axJ7+2m+HkbmePoDzPZzifRg0RJKytnErNVLgYldwUuQaFKzqEJKxwKLbLNWaOG7K3h74GS/HApoYH8yExKssF5rAOKJX17pIprK7q+8VlesQwSLV/KRg0lWfr2vFx/JT+3b25lGxNI= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:PAWP189MB2572.EURP189.PROD.OUTLOOK.COM;PTR:;CAT:NONE;SFS:(13230040)(376014)(1800799024)(366016)(23010399003)(10067099003)(56012099006)(6133799003)(11063799006)(5023799004)(22082099003)(18002099003);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: UeKAJNdJhgone1WWEAWwXH2wE0J+f9FrhuvVxbLfh2umYGNmQvNlJtWa50NNf2ab8Z/EF36wMGs7pjmK4iaY1BLAByoOvK+/JHTKVFpJkok8+hBrm57xJWio2Hpplj2Y7nGA2DSbJsdJ28aOdPu11Zq3dQ4hRNvjp1YH+SwynkCHciZSi+ji3uku071DiwKKKCr78Pf4ZcnHEsFy+Cujcm8Fj3af1GJncmmmpI3VPDAA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m3auxEUQY16/lPQb9bmAnw/SlXaDsIRpRUKUwjJMndBsLILv6oG854p1WEs4CzKEuBLqJXbl74qL9cuQiHB6BJ7M8VNTQx4+6qhiey9ejlQULjRyOxMWMsgzmc8U54n+B97dVTC+S6Mu+eGp7dHagXb47MIXNKDsdPDpzSNylGTC0rUtH9eF+T62CDrE4CXPIu/5IDXXu+AZoE/CgM9v4dro5RG/HBarWIcf1z32gsjaIA4LS2QjyZt4Sk7ExHgluuG+zP5QKuu6G9GiH0v5XheKqPGuuomNB4MGReISxKnAGQH5F8QUTBrAaYgXAvjIUfIcxmiVML7kr62DY61xMrqMSMSOiylBoZ/QIox3sqewNDMGuQ9n3tCed49Od3/JSGS2SIyoaigpic/3faGJwPlxO4v3FsHrubOQ== X-OriginatorOrg: est.tech X-MS-Exchange-CrossTenant-Network-Message-Id: e91bb956-d0de-4025-b02c-08df1fbb7e35 X-MS-Exchange-CrossTenant-AuthSource: PAWP189MB2572.EURP189.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 01 Oct 2026 12:57:04.7851 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: d2585e63-66b9-44b6-a76e-4f4b217d97fd X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: C2wLdHJT42cvEscht/fzDKzp36HjA7tn3L/JqhzisWyQzQxr6lcEEzHjPxO9SiPFkuVxtAh4mt5pq9/lT5vwcA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: GV4P189MB3559 List-Id: X-Webhook-Received: from 45-33-107-173.ip.linodeusercontent.com [45.33.107.173] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Thu, 01 Oct 2026 12:57:09 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/247033 rust-analyzer is built alongside the other Rust tools (clippy, rustfmt) but was not installed or packaged. Add a rust-tools-analyzer package and install it for both the target and nativesdk variants. Two additional pieces are required for rust-analyzer to be usable: - The proc-macro server, rust-analyzer-proc-macro-srv, which rust-analyzer looks up under /libexec. Install it into ${libexecdir}; without it, analysis of any crate using a derive or attribute macro fails with "cannot find proc-macro server in sysroot". - The standard library sources, which rust-analyzer analyses from source rather than from the compiled rlibs. Add an RDEPENDS on ${PN}-src-lib so that core/std items such as println! and derive resolve instead of being reported as unresolved macros. Both binaries link against librustc_driver from the main package, so the package also RDEPENDS on ${PN}. Signed-off-by: Benhur Tessele --- meta/recipes-devtools/rust/rust_1.98.1.bb | 19 ++++++++++++++++--- 1 file changed, 16 insertions(+), 3 deletions(-) diff --git a/meta/recipes-devtools/rust/rust_1.98.1.bb b/meta/recipes-devtools/rust/rust_1.98.1.bb index 1f4ce5ebdb..d446c60651 100644 --- a/meta/recipes-devtools/rust/rust_1.98.1.bb +++ b/meta/recipes-devtools/rust/rust_1.98.1.bb @@ -261,18 +261,21 @@ do_test_compile () { ALLOW_EMPTY:${PN} = "1" -PACKAGES =+ "${PN}-rustdoc ${PN}-tools-clippy ${PN}-tools-rustfmt ${PN}-src-lib" +PACKAGES =+ "${PN}-rustdoc ${PN}-tools-clippy ${PN}-tools-rustfmt ${PN}-tools-analyzer ${PN}-src-lib" FILES:${PN}-rustdoc = "${bindir}/rustdoc" FILES:${PN}-tools-clippy = "${bindir}/cargo-clippy ${bindir}/clippy-driver" FILES:${PN}-tools-rustfmt = "${bindir}/rustfmt" +FILES:${PN}-tools-analyzer = "${bindir}/rust-analyzer ${libexecdir}/rust-analyzer-proc-macro-srv" FILES:${PN}-src-lib = "${libdir}/rustlib/src/rust" RDEPENDS:${PN}-rustdoc = "${PN}" RDEPENDS:${PN}-tools-clippy = "${PN}" RDEPENDS:${PN}-tools-rustfmt = "${PN}" +RDEPENDS:${PN}-tools-analyzer = "${PN} ${PN}-src-lib" SUMMARY:${PN}-tools-clippy = "A collection of lints to catch common mistakes and improve your Rust code" SUMMARY:${PN}-tools-rustfmt = "A tool for formatting Rust code according to style guidelines" +SUMMARY:${PN}-tools-analyzer = "A language server providing IDE features for Rust" do_install () { rust_do_install @@ -294,14 +297,19 @@ rust_do_install:class-nativesdk() { rust_runx install rust_runx install clippy rust_runx install rustfmt + rust_runx install rust-analyzer unset PSEUDO_UNLOAD install -d ${D}${bindir} - for i in cargo-clippy clippy-driver rustfmt; do + for i in cargo-clippy clippy-driver rustfmt rust-analyzer; do cp rust-build/${RUST_BUILD_SYS}/stage2-tools/${RUST_HOST_SYS}/release/$i ${D}${bindir} patchelf --set-rpath "\$ORIGIN/../lib" ${D}${bindir}/$i done + install -d ${D}${libexecdir} + cp rust-build/${RUST_BUILD_SYS}/stage2-tools/${RUST_HOST_SYS}/release/rust-analyzer-proc-macro-srv ${D}${libexecdir} + patchelf --set-rpath "\$ORIGIN/../lib" ${D}${libexecdir}/rust-analyzer-proc-macro-srv + chown root:root ${D}/ -R rm ${D}${libdir}/rustlib/uninstall.sh rm ${D}${libdir}/rustlib/install.log @@ -329,12 +337,13 @@ rust_do_install:class-nativesdk() { FILES:${PN} += "${base_prefix}/environment-setup.d" -EXTRA_TOOLS ?= "cargo-clippy clippy-driver rustfmt" +EXTRA_TOOLS ?= "cargo-clippy clippy-driver rustfmt rust-analyzer" rust_do_install:class-target() { export PSEUDO_UNLOAD=1 rust_runx install rust_runx install clippy rust_runx install rustfmt + rust_runx install rust-analyzer unset PSEUDO_UNLOAD install -d ${D}${bindir} @@ -343,6 +352,10 @@ rust_do_install:class-target() { patchelf --set-rpath "\$ORIGIN/../lib" ${D}${bindir}/$i done + install -d ${D}${libexecdir} + cp rust-build/${RUST_BUILD_SYS}/stage2-tools/${RUST_HOST_SYS}/release/rust-analyzer-proc-macro-srv ${D}${libexecdir} + patchelf --set-rpath "\$ORIGIN/../lib" ${D}${libexecdir}/rust-analyzer-proc-macro-srv + install -d ${D}${libdir}/rustlib/${RUST_HOST_SYS} install -m 0644 ${WORKDIR}/rust-targets/${RUST_HOST_SYS}.json ${D}${libdir}/rustlib/${RUST_HOST_SYS}/target.json install -d ${D}${libdir}/rustlib/src/rust From patchwork Thu Oct 1 12:56:30 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Benhur T X-Patchwork-Id: 99826 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id C0860CA5FCB for ; Thu, 1 Oct 2026 12:57:19 +0000 (UTC) Received: from PA4PR04CU001.outbound.protection.outlook.com (PA4PR04CU001.outbound.protection.outlook.com [40.107.162.35]) by mx.groups.io with SMTP id smtpd.msgproc01-g2.10617.1790859432453883189 for ; Thu, 01 Oct 2026 05:57:12 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="dkim: body hash did not verify" header.i=@est.tech header.s=selector1 header.b=WPUwP5C7; spf=pass (domain: est.tech, ip: 40.107.162.35, mailfrom: benhur.tessele@est.tech) ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=Vlu6IszsDuGxkmFEOCoZWVVu7yti9t6Hea9zWIMlkpDTZInvPqkITW3dR2MDtGmfDKAKPqIPNC35Da5LcE/2hnXec/TDDN31XArOQu7UlKpIQ6PfzbTg9THsVH6opHYtcENAI5QIkAp1WzBJWsEeXe5QDhjM80twe2zJNSl/bgPDlKRKRSJiQ/n4aquLq5Gu+hVRpyiDLvP3bF0wPprehq9AysmcCfCliEfPdBvFwmEfBUQQmFekNp8LJm7xF/pjAz3Lf+9EaEw/L5YTNKiCiNma4kcnMVeIrYr5erRHRZ4HSZABVbhGuGdhJtD/ytycCW3RnF4fTlAIu37dbji74A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=BnAROK30OstL2ycAFB6lHj82g4ocrhxXNMVfZZ/pt+g=; b=Y1Qkg9B/FXXeF11OlwAV8nS6MGy/iPOEsDqeElhF0VeZ2HV8TIU1Mw9mvWEeEpgZHvgZuXSq1e2MUKoIqHj1OjIJBhuXe9yHW16yeGFXr2Sc2qhMLFJXN8D/cIX8Y/UUMImUv7G2soXPSkCRQeDQaSJLOTPQvd1O54noJi+ijWo/PFampe1ftJhwCfITta7grC8N8jwli6MdOLsdwQGLrTVH6cCZNXawE6xl9a3i0W9ulCLqRLdvZvF0GqN2ElbWQn3DuVjajgpPeWdFR5fDQgXF/VUtmqnagFg34HVERNC4XzBRw9xkOdtr0K824o2ch5Zp1+/hqDQX0P0fbMGs0A== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=est.tech; dmarc=pass action=none header.from=est.tech; dkim=pass header.d=est.tech; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=est.tech; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=BnAROK30OstL2ycAFB6lHj82g4ocrhxXNMVfZZ/pt+g=; b=WPUwP5C72LbXQiSvGKNrCS8b6rwmUQEly9/WXB0scwO5XwEXZmkW1TyhbvhSFBBEulYE238j0MRlp55e+P9CYMpYcox2D4/FDdofDcC63ZBz6zuXOBZIN5VhSZwl3oBwhZnlSRpLjCh9ZtmbUhbTrIH5Z9UWBrizdKnSMyNPzyPMb/fnplVsJo0YtQshVbKnsApSFbasrVAqwEhHKDIlmBg/h4boblaax9FTlX+p+OBH+n4m7NAmhXc8oMnXjJpudZMfkCvf2ZtrPThuZ1h27ixGnh7X/TJ9+6jdVGRzqmVe7GW7d6e7SYqNAO+UtmFCbeaM5wQaPDXhIUAw+YZFpw== Authentication-Results: mx.microsoft.com 1; dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=est.tech; Received: from PAWP189MB2572.EURP189.PROD.OUTLOOK.COM (2603:10a6:102:35a::16) by GV4P189MB3559.EURP189.PROD.OUTLOOK.COM (2603:10a6:150:2bb::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.21.472.18; Thu, 1 Oct 2026 12:57:08 +0000 Received: from PAWP189MB2572.EURP189.PROD.OUTLOOK.COM ([fe80::5da2:7509:7be5:d74f]) by PAWP189MB2572.EURP189.PROD.OUTLOOK.COM ([fe80::5da2:7509:7be5:d74f%6]) with mapi id 15.21.0472.016; Thu, 1 Oct 2026 12:57:08 +0000 From: Benhur Tessele To: openembedded-core@lists.openembedded.org CC: Randy MacLeod , Benhur Tessele Subject: [PATCH 2/2] packagegroup-rust-cross-canadian: add rust-analyzer to the SDK Date: Thu, 1 Oct 2026 14:56:30 +0200 Message-ID: <20261001125630.760962-3-benhur.tessele@est.tech> X-Mailer: git-send-email 2.55.0 In-Reply-To: <20261001125630.760962-1-benhur.tessele@est.tech> References: <20261001125630.760962-1-benhur.tessele@est.tech> X-ClientProxiedBy: DU7P195CA0010.EURP195.PROD.OUTLOOK.COM (2603:10a6:10:54d::13) To PAWP189MB2572.EURP189.PROD.OUTLOOK.COM (2603:10a6:102:35a::16) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: PAWP189MB2572:EE_|GV4P189MB3559:EE_ X-MS-Office365-Filtering-Correlation-Id: 49b7b24c-cb31-4df5-d314-08df1fbb806f X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|376014|1800799024|366016|23010399003|10067099003|56012099006|6133799003|11063799006|22082099003|18002099003; X-Microsoft-Antispam-Message-Info: DUPXF7GbI8HFxfePvb69x8ZPNmuQbKbp7wr8/oVz7j6ZCT2dTO+jIvzBBGuwwBOQsWy3K+0BW6/2gkafm3LKDE4qROPI8kVZQiAw/01H+0DiNpa32n1yb4PEDa9ic3PMpCIy3+13yZZBXzxuw9BiJL9eI10EpSkd7XLqmFH0HP1xwZYuoJG6zphQs8FveBnSFJ/3GOX+kMyF1inj1GOraX0DDox5Az/RZx1OagJ4FcoWTVSFDMXDeNGquTJAWofy0B8asanR7NOAdXWAhGgGimCYvyyDA31nA5Dva1lYbEB3OhIVDI5gUBwI2vpS8PwIMXovgBPYP9zhb8pVebCUS065mhJB4WsxoAer16VpLmI1jjKfdNBT8fuSSHwj5VdK0l4cr4tBUwFrIfP3AvWnvxEVauJD7UqaxJeGj3wTAosieo7NZBU1n+R961C2nl9DOtvxwPJHXjFqKtJrtlgr9WSY/5Jsu7XmR04KRNMSi9e/NPNlkvXhD9ic3mivv/px4XIRBhDIPkKx/cGvoAK0s7+IZ2i83whSklKFJltDGAJvp9Pa9gpUI0/ZDUMlfb8BOrShgE0FQnmdk8HHhOzE0g6XALA+SJQuSXicfhL+DyHfnKo5dtxLehDe4WgwM+2ayvmh1jgOOk1VZpiryfsGkgU08s0xE/nFIFi610eHvj8= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:PAWP189MB2572.EURP189.PROD.OUTLOOK.COM;PTR:;CAT:NONE;SFS:(13230040)(376014)(1800799024)(366016)(23010399003)(10067099003)(56012099006)(6133799003)(11063799006)(22082099003)(18002099003);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: IgXVzRTGQ1nLNwBbXKZTfQngOGxHkzeSUyjIAf33D3e5CV2jgjQicXnMMwjyoFmspW9zr8ct2JV5vtfWM/NQuGv4133VkkwL2ZNDY4UX4DyCiWc0fpc2s7luhXrMwtsZH4DPHc+8irRrpkHN77zUD0IDVMIdAvAHa8YaW+XhgMPmJ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ctPfibrP65+5wXZh/FOgro/YE8gjH2zT1qEm0k5yap0xTJrS0+5uU37sO2rQtEuaw4ZNvlyJAuCcNH/W0S9ApW+OjQ5AAqk97UpOxiwhCfI8BroDBKdQfJEBsEaN9UpH1pOzesU9xHQgpaIr9MeZJZaglEcQEufq1sKOoou0wFpN6Nuo16iYbcuva4QAK9QX5oAOxc1eyVcto4ekqcZojkCDMF8bDHov5apQVgTAvi+hjvLp5ass9UwGdKBJ0mlxj7OX4Nfpe7g2cZgt329FIHgn2mP1Kz3fqvyucrdHaQd3F84Fh999d13yCCOJ0U8M0lfW29Fn0wjCDswmF2sbzF+lW2iLQna7l9edGOdkZ+RLqeGL8jWwSUOX9zMNgcEpiMJs4hztWfpcHSa9ZqaqEJnaZxmNZixG/ele6KfIdckW8W3XzNK+TBr4jH4OOy5mp+7EB09Sn4laTEaHZBaVwwlXSTAMSBcHQ/fvQ34jZJs52QQ== X-OriginatorOrg: est.tech X-MS-Exchange-CrossTenant-Network-Message-Id: 49b7b24c-cb31-4df5-d314-08df1fbb806f X-MS-Exchange-CrossTenant-AuthSource: PAWP189MB2572.EURP189.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 01 Oct 2026 12:57:08.4640 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: d2585e63-66b9-44b6-a76e-4f4b217d97fd X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: XsD8DTK0gumSQVew2K7pcxahZd8aGIEjLXVaqxvApRCQzFlnVkJMyfEy/pH656qbCNBX60dCTiiWYoBUNJ+qEA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: GV4P189MB3559 List-Id: X-Webhook-Received: from 45-33-107-173.ip.linodeusercontent.com [45.33.107.173] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Thu, 01 Oct 2026 12:57:19 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/247034 The Rust cross-canadian toolchain already ships clippy and rustfmt as host tools. Now that rust-analyzer is packaged, add nativesdk-rust-tools-analyzer so an SDK built with SDK_FEATURES = "rust" provides rust-analyzer as well. The standard library sources it needs are pulled in automatically via the package's RDEPENDS on nativesdk-rust-src-lib. Signed-off-by: Benhur Tessele --- .../packagegroups/packagegroup-rust-cross-canadian.bb | 1 + 1 file changed, 1 insertion(+) diff --git a/meta/recipes-core/packagegroups/packagegroup-rust-cross-canadian.bb b/meta/recipes-core/packagegroups/packagegroup-rust-cross-canadian.bb index c73c8d3333..54b39189b4 100644 --- a/meta/recipes-core/packagegroups/packagegroup-rust-cross-canadian.bb +++ b/meta/recipes-core/packagegroups/packagegroup-rust-cross-canadian.bb @@ -17,5 +17,6 @@ RDEPENDS:${PN} = " \ nativesdk-cargo \ nativesdk-rust-tools-clippy \ nativesdk-rust-tools-rustfmt \ + nativesdk-rust-tools-analyzer \ "