From patchwork Wed Nov 19 16:47:52 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Harish Sadineni X-Patchwork-Id: 1998 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 81DD4CF3961 for ; Wed, 19 Nov 2025 16:48:39 +0000 (UTC) Received: from mx0b-0064b401.pphosted.com (mx0b-0064b401.pphosted.com [205.220.178.238]) by mx.groups.io with SMTP id smtpd.msgproc01-g2.11801.1763570908457616954 for ; Wed, 19 Nov 2025 08:48:29 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@windriver.com header.s=PPS06212021 header.b=bXFG9dpG; spf=permerror, err=parse error for token &{10 18 %{ir}.%{v}.%{d}.spf.has.pphosted.com}: invalid domain name (domain: windriver.com, ip: 205.220.178.238, mailfrom: prvs=34186f8fde=harish.sadineni@windriver.com) Received: from pps.filterd (m0250811.ppops.net [127.0.0.1]) by mx0a-0064b401.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 5AJC6IXd318537 for ; Wed, 19 Nov 2025 16:48:27 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=windriver.com; h=cc:content-transfer-encoding:content-type:date:from :message-id:mime-version:subject:to; s=PPS06212021; bh=L4ikhk6u0 c+7kwr1vLKbIVuraTuN81aqlgOxtK9QgrY=; b=bXFG9dpGebnhVLEsMNI0llFH3 FFF1bnBc5Oq1ImyuRIHlD56sCk5o15VXTfAej4P3cTZ/64ERxlgIm3rmj322NSqj iAf/kmkOiq50YWu7emVr3c27XcLQLw+gJ8cN7D1pGCzv1GMZPfBtd8oUMy9ZJpz8 p4eAaB7F/Fzla36hXRQS3PocGdrjdCjHtryV4d2YcQkPkJjeGXeYWJ+EwZPjqbhH DKasvqxyqAaO6tSPshFR9RT3zu2ncRZgDWtJhZvL+SO+qZLiigjaQ8e8Bo8aelvt lZYpreq7K5EcUcl4y8CAtLcmEy/QDRMGxHc/4uxSD1PtXoOIeD+5C2R0yRv3Q== Received: from dm5pr21cu001.outbound.protection.outlook.com (mail-centralusazon11011060.outbound.protection.outlook.com [52.101.62.60]) by mx0a-0064b401.pphosted.com (PPS) with ESMTPS id 4aeeqwncu5-1 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NOT); Wed, 19 Nov 2025 16:48:26 +0000 (GMT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=qVks3xrXiouNh/DTmWYqw4TDxJA0ZYI/rGlKgXZE3JV0ODDsmRjnlIbxvp3jGdOR2B1wEE1tWQ2MZfLFw3iZnkW0Ytpro43SzU2Q67xT8vdYSNwE//v07ipVzc6R6iESkjeRGTVxuh7DufS//lyjL9T3yPlWbTBDTr2TO0Qw9tJ45/YdpEKf4MiTIxur7sNUpEjYxYwSLAp1QhkpBILgXtyG3CU2XbJehfg8+rjHNluEyotu0D3aicjKLFbFZvaLNjyppb8HAUFrzelJvijFhW9XEoyyHIASWtS4SMKO5fL91h8A7EbrP1QsPHjg9XQ6y4LBDzViBagjDVPO1h4TBQ== 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=L4ikhk6u0c+7kwr1vLKbIVuraTuN81aqlgOxtK9QgrY=; b=Fj8jNPc1uY9HxvaQwZCmoM6ft1lfDVzgNa83SEEyk/HJbJohe3olIq5MW2jekQKCczLoHnTc2POz5qX6Nm6WFScvw4zk4mrKxcoHUHlWZuxAE51e59/gv9Ar5kYboBnJ9oIup5e7Xl1N8M21ahOdTUTdVxF0Ni0pzG+zMVBiTMvDx+bJ/4IHuuO+eoaz1UIg+lmdYNFCoq6S/BSUDvVSQdV7W9qyGnqVdgoZLiVXJ9sPqcP4d+iRhmke5guj7yBN0VGCdSykuLRnIj9G6p86smDuOWCnGYw6P+BaHLLk/gqI0z8tPpsTQMQJ8yTnZj7nKXzNttPsVHZR3JIjC7W4zA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=windriver.com; dmarc=pass action=none header.from=windriver.com; dkim=pass header.d=windriver.com; arc=none Received: from PH0PR11MB5658.namprd11.prod.outlook.com (2603:10b6:510:e2::23) by IA1PR11MB6122.namprd11.prod.outlook.com (2603:10b6:208:3ee::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.9343.10; Wed, 19 Nov 2025 16:48:22 +0000 Received: from PH0PR11MB5658.namprd11.prod.outlook.com ([fe80::f440:269f:9645:29c0]) by PH0PR11MB5658.namprd11.prod.outlook.com ([fe80::f440:269f:9645:29c0%6]) with mapi id 15.20.9343.009; Wed, 19 Nov 2025 16:48:22 +0000 From: Harish.Sadineni@windriver.com To: openembedded-core@lists.openembedded.org Cc: Randy.MacLeod@windriver.com, bruce.ashfield@gmail.com, Sundeep.Kokkonda@windriver.com, yoann.congal@smile.fr, elmehdi.younes@smile.fr Subject: [PATCH RFC v3 00/11] Enable rust support for linux kernel Date: Wed, 19 Nov 2025 08:47:52 -0800 Message-ID: <20251119164804.256364-1-Harish.Sadineni@windriver.com> X-Mailer: git-send-email 2.49.0 X-ClientProxiedBy: SJ0PR13CA0203.namprd13.prod.outlook.com (2603:10b6:a03:2c3::28) To PH0PR11MB5658.namprd11.prod.outlook.com (2603:10b6:510:e2::23) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: PH0PR11MB5658:EE_|IA1PR11MB6122:EE_ X-MS-Office365-Filtering-Correlation-Id: d2c2e1dd-11a9-4ae9-40fd-08de278b732f X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|1800799024|376014|52116014|366016|38350700014; X-Microsoft-Antispam-Message-Info: =?utf-8?q?67kR95ZGavK5ZUQLfmWjkn5uBuoSvyW?= =?utf-8?q?/z5TIanmzOgOSAeevHO+tg/hKp9t8+hd4Yp331Kx4qm78tU2Ry7ZgJnqJ0YNnWwra?= =?utf-8?q?MfFO9yG0oreYTnXNugPXCPvZBWUaYV8DAeKkfeLNoF3x2RaLkDA+CmZ/ZEgSYxQQH?= =?utf-8?q?+pLTc2SrCjVZbZXI7PG97Z1/1KlLF1zRbkLZ7cEdBKgrdZSwM4CVzG8q5LBi+61yy?= =?utf-8?q?ByO3lCGmRinThGSRrEeBprhwPftFfpXtKmgXpItqI6rgHktmWsE3jzi560ngnzIYS?= =?utf-8?q?u+pcQ3aA+q89AjVl55ArwQAOXfXfHJdn/PWTV7Wx9pt0o+M+GL9JPqDIPsvGHdgiF?= =?utf-8?q?jLiTrIlgPZU0soYksENPvbsItOwtXggq6WOaQaVTSLqsMlZ61zXX/pF3BUCO2Q2c+?= =?utf-8?q?u5KE0d/0og3qyPL2lVEgIewc0BkmLhJDt+Ja9R/4wjEJsZDssQ48lBTfxbi1/5aTn?= =?utf-8?q?BSv/hH/PWkIMFUo1MauuamQVpkeCd5Wztthdd5l8i94zeph8x23Dca3ZRgn2YIwZ/?= =?utf-8?q?Cx0gR/Mq0ReadjEPboeej9hzhbxTaJAKwf2XD9TYl0S3jMTVd7r9Hhae59WHp3THd?= =?utf-8?q?F4HBYCxnxG53jE07i+qCQRHxqVMdIfANU3RbtLqQUMKwBnPl91fMrPtfEEUyJKH27?= =?utf-8?q?aL/09hKbl5G4+ZZ0gzj8MEaPqUV5+vZTdJ9RpCGaE3oki9LI9E1jAjFSagXvIQzHO?= =?utf-8?q?BCZAGmjOuoaa/3cYJgpoIByq/b+E+etSmoY4kmXWCYdoV6+gm4TsCb2tXP0r8wmhi?= =?utf-8?q?pxNB++b3TAW494PtiBCLfJ9VQFxrL5KMyNqB9giwCLGFIOOhP4y75WYQ1u5f060w3?= =?utf-8?q?amlF78KZz37n9JEXgIyCgXZQyYTs1wiz6Uy5gHUFVVEuzmtO076WCLHxkM9MQX5Zn?= =?utf-8?q?DzcdjDrYD0KoJOK4R8swW56lg3iSwWGXSArJ4qZowUhRbFqdG9wpZ0TDftD5On6xY?= =?utf-8?q?VF+eUr4z6A0owKrIMYC8+/ZyljFPFqpk6sFqO2fCFZd1yCBvDN6HvQorvQCnMEdYS?= =?utf-8?q?CTI7fraBZiQsvGD/b6sMnpj9bNyZR45pI+YTf/iWsElUJ9kyZ5XYVfcUJQL6jDzsb?= =?utf-8?q?FQFb6fIYTgFWZK8c7Og6pYsR3+F40LyBZdH7pWQ3bdDLkG/pYveuvgSvwIJIyAlQF?= =?utf-8?q?myyp5LoRDIK8ocZxhUF3DJVQaIFEuOBJeVbzT7S5C8HPw52pdbkmeZ+D/fpyDP5sY?= =?utf-8?q?RTVZiEYWjC14Mm4Lv/eOKXJ9SBxtT1M1jyNlubMFrzX9xw90RmgkUVJtKVxQfKxT2?= =?utf-8?q?j+Fw6aTw4J5J3SyIEvr2Js3u8iPYh5M5gn6fwQqf/0BmTsJDwo7nrEIfCHL8+3R5L?= =?utf-8?q?ugKPEKYqCQsYkf7vaa9zKJszIRyZcliEkBrf0VteAshV8FYbBxSwQOGRS9tbqAg4c?= =?utf-8?q?4e1OLWCLG6zmQ0VF9cSxH0DllaE0EBDu8qAJj+d1zUr1vHR2eQB3QUC3M4nKb7G9K?= =?utf-8?q?22XUlZradd?= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:PH0PR11MB5658.namprd11.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230040)(1800799024)(376014)(52116014)(366016)(38350700014);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?Rz2zhEJk7+dwnFi/LRTUiRsyrKg1?= =?utf-8?q?ro8PKiVj8fvEgqBxReS59yIOfyPEElYx8oDGqyUsre58uMFZ+CLNVV/r7jj2ylq/D?= =?utf-8?q?+Nqk+ebXmx7886wAoMDv0owcSVZuCY22nlcHnpd6r5GpVmxI8xKBTzYjR+u+W0uhT?= =?utf-8?q?l/K4C1/QsFtVCle8Xd0pICvgvQPQWNPZ1oaOKV7p8DhZBmQnzaA6RSasy8CQnnLKi?= =?utf-8?q?hcykEftiZhD2LN8HoTZFJxVWnVLH5fIbNwb7eOrTLZEAJ+7m8NQoSxofG3tz75e7K?= =?utf-8?q?iTvocCcyyhvL1rFD/wS+Dz6DTmny0BR3j8AYb5sj7xQaO14b+kqrrU22fRkeSi/I2?= =?utf-8?q?xTPYYzba5fwOj1vwGuhAgSaywxEwlCGy6XtHImlOflGIoCXtJJh5ctlJoeEpXFtYu?= =?utf-8?q?HILmuP2iNMwTF2Nw0Pc2DbYxnNkW/QWA58QPvDfP/fMyeipaH7GvvqvAzOeqWBVyi?= =?utf-8?q?df2akYhmtsvSTkhXgGKiWB1ifKwY6ppSg8EBAqxxsQGPglzRirm/w1tzRrxLPA04I?= =?utf-8?q?6tMtY429SHgvLN74YTHZz1jO2xEWxp3LyVx4e4g2FvwKEIy0uhkD0ZalPXYxt/R8S?= =?utf-8?q?ChVIBT9F7Qn+cuaf+XHdl6X/Dy61/x9CmRM02qt6O1BL5Y9dyeYk2HrEHoEl5pIba?= =?utf-8?q?akinfWgaMyHdwRlo/osLlDU9I3iCL+JqVjdiBLFi4pKv+CVNOLqKJGCp8EXYDui6f?= =?utf-8?q?UsAYesz0M5lxW+0rRBH1E2J4yE+CzjPUe4t65hgChFBxLbrJhyAmfZIc8k96QbfBK?= =?utf-8?q?Xz2j+iDGWVlhuxkygbErpP6o54InA+JKMFh9rwWkytpNp9W0Oo+cxWsJrov0jaAbj?= =?utf-8?q?0Ut5BqhM+fyiegsHJj4EiKYg9ZLiAex6c34RreUmYVkejGG6P0by+wj3ZMFN3AouC?= =?utf-8?q?Yg2NajE/C6VSgcvfVnwWUlVvQKvf1zMljtnpePK0jXse3h0LSN5UAMYDWOmi9NqPP?= =?utf-8?q?5u9uR5SCHSp4gdFURTiYL1Dn8MUrnll/+zgat02K4bPipPgvK4+jGtBY1YlbUZxoJ?= =?utf-8?q?eWmM0dzMzrBdWzl4T/L6cEDHWDsNcFht3OQA66PqOK2jKkXxQ9UN99Fr1VW+PYkkE?= =?utf-8?q?GBbM5WaPOX/yjXljDS6KrP48deOzKb1BG8SU0OIXuaaCExAkBoNnaJunIASvgzxVQ?= =?utf-8?q?KcyLnzh/QMl5edXb9cKTWUrCIMqHoGHsDb+YZPdRA22AZ1izghH/4UMHwonjodnvs?= =?utf-8?q?j6mCY6heedw6HVn5l5kXw4sUWFRwhxE6EFYh3Yh7Ki4HWdGy30dQyMI5H8/WhApmd?= =?utf-8?q?3dO5t02KCgdjodFVHb8gGolGCZWEkoSPBvD5PbuuB78vs/6Q4I157L308zNVXYS41?= =?utf-8?q?hc/f7uQN/Gr9lENhVg+6fp61pspN/2gMN3rXuXA4pUW3KwCC2+rxojNx+CqHBUX2V?= =?utf-8?q?TcxGbG/uxoEcy9g/RbiTijwAciBC0wdhBLVQZRkTBOVegFQ9+Bstaxkf0cISOPb9V?= =?utf-8?q?tCIixT4PCc5gmvOEBe9V/Tacxr68sEdxdj32ceHBvyv68tgmjdM7DdNcDp8XRvWR/?= =?utf-8?q?CkkIqZfmof9TeDqsRNkhg0SheVF27vy6mHFhH8v81YIVOlFJsRoS6is=3D?= X-OriginatorOrg: windriver.com X-MS-Exchange-CrossTenant-Network-Message-Id: d2c2e1dd-11a9-4ae9-40fd-08de278b732f X-MS-Exchange-CrossTenant-AuthSource: PH0PR11MB5658.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 19 Nov 2025 16:48:22.0783 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 8ddb2873-a1ad-4a18-ae4e-4644631433be X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: WaJsBEDdtKx199yItb6IiT+eAdbYY5AtluRzQh98IQxlUnlZ/+9AHUDTXu9XXvPNZNv5saOhJJHtGjxlHuBMzlB9o9bxuc5KkbV4zk0xsNA= X-MS-Exchange-Transport-CrossTenantHeadersStamped: IA1PR11MB6122 X-Proofpoint-Reinject: loops=2 maxloops=12 X-Proofpoint-Spam-Details-Enc: AW1haW4tMjUxMTE5MDEzMSBTYWx0ZWRfX2z4zCvI3vVeD iyq9OEtNQjuyVJ1hd8IiBsKfiyNE2RC2dXmNb/oNlnV4X2XABG6LKFhkmU2uZw5niiZ3Gzsk2YO y6GsIY9llS+WTtOiJy3ySXKQL2dStVrXlxlZ2FPds/gTzb3AJ/2F1uKZj9TbLGULSiEvv6abbW5 I/vHBM+N3z+isnw/qwBC82VlC8wb8IQnwFdySLCUe5sbsvRL/eTXmZbwnlavnjiyTKp7CiZx+7n Rj3yxHD3Dk6YZZmUzt9SBNe24uFHIlFo49caE8dxKYMwSvyCyIb0OzPEugUb3e5QtvQ5R6Vcg5B 2xhxT3N1HvCL/L4X9j96y8g29wEMYm7I3Gj+8QKh2Y/YVWGSeJQGtblQaDrhkfCe2MtfnEOWdtk cNpWzJaqNZSp1wErip9dmpI3K0WG9g== X-Proofpoint-GUID: _CyC_H_FcmHeFjAg4f9P98ab66_s8tOC X-Authority-Analysis: v=2.4 cv=OuxCCi/t c=1 sm=1 tr=0 ts=691df4db cx=c_pps a=VmiGRewH7mEIsprpaxNw0Q==:117 a=6eWqkTHjU83fiwn7nKZWdM+Sl24=:19 a=z/mQ4Ysz8XfWz/Q5cLBRGdckG28=:19 a=lCpzRmAYbLLaTzLvsPZ7Mbvzbb8=:19 a=xqWC_Br6kY4A:10 a=IkcTkHD0fZMA:10 a=6UeiqGixMTsA:10 a=VkNPw1HP01LnGYTKEx00:22 a=t7CeM3EgAAAA:8 a=HzRlP5ouLR9e6J-S4LYA:9 a=QEXdDO2ut3YA:10 a=FdTzh2GWekK77mhwV6Dw:22 X-Proofpoint-ORIG-GUID: hpBkWSuByjEcBVTTnKWfoNAERri0IqOy X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1121,Hydra:6.1.9,FMLib:17.12.100.49 definitions=2025-11-19_05,2025-11-18_02,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 impostorscore=0 spamscore=0 phishscore=0 bulkscore=0 malwarescore=0 lowpriorityscore=0 clxscore=1015 priorityscore=1501 suspectscore=0 adultscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2510240001 definitions=main-2511190131 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 ; Wed, 19 Nov 2025 16:48:39 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/226560 From: Harish Sadineni v3: - Addressed v2 review feedback regarding adding dependencies to a variable and assigning them using (?=). - Moved staging of Rust libraries for the Linux-Yocto 'make rustavailable' step from linux-yocto.inc to kernel-yocto.bbclass. - Made copying of the Rust library directory into tmp/work-shared optional and performed only when building rust-native when rust-kernel is present in DISTRO_FEATURES. - Split rust.cfg into three separate config fragments: rust.cfg, rust-samples.cfg, and rust-debug.cfg. - Disabled ccache for Linux-Yocto builds when rust-kernel is present in DISTRO_FEATURES - Added an oe-selftest case for the Linux Rust sample Summary of changes: - Patch 1: Extend 'bindgen-cli' to support 'nativesdk', allowing it to be available in the SDK environment. - Patch 2: Add required dependencies ('clang-native', 'rust-native', 'bindgen-cli-native') to the kernel to support Rust binding generation. - Patch 3: Install the Rust standard library source ('library/') into `work-shared` and which will be later copied to linux-yocto recipe-sysroot-native. - Patch 4: Added 'rust-kernel' to DISTRO_FEATURES_FILTER_NATIVE and DISTRO_FEATURES_FILTER_NATIVESDK, the 'rust-kernel' feature automatically propagates from target DISTRO_FEATURES to native/nativesdk builds - Patch 5: Stage the Rust sources into `recipe-sysroot-native` for kernel build compatibility, making them visible during native builds. - Patch 6: Update `kernel-yocto.bbclass` to invoke `make rustavailable` during 'do_kernel_configme', ensuring Rust readiness. - Patch 7: Add kernel configuration support for Rust (via 'rust.cfg' and 'rust.scc'), enabling the Rust build options in kernel config. - Patch 8: Fixed buildpaths errors when rust is enabled for kernel by appending --remap-path-prefix to RUST_DEBUG_REMAP - Patch 9: Disabling ccache when rust-kernel is enabled for linux-yocto. - Patch 10: Copy Rust kernel sources into kernel-devsrc build directory which will be required while running 'make prepare' in sdk. - Patch 11: Added an oe-selftest case for the Linux Rust sample. Benchmark test-result for x86-64: For bitbake core-image-minimal +-------------------------------+------------+-----------+-----------+-----------+ | DISTRO_FEATURES | real | user | sys | FS usage | +-------------------------------+------------+-----------+-----------+-----------+ | rust-kernel (enabled) | 46m1.720s | 0m28.864s | 0m3.696s | 58 GB | | rust-kernel (disabled) | 30m1.053s | 0m20.091s | 0m2.748s | 33 GB | +-------------------------------+------------+-----------+-----------+-----------+ The increased in time & fs usage is due to kernel rust dependencies in linux-yocto. These will get solved by using pre-built binaries from meta-rust-bin (WIP). WIP: - I am working on try to use make use of prebuilt binaries for rust and cargo using meta-rust-bin layer which is having compatability issues with oe-core master branch. - rust-out-of-tree kernel module recipe and selftest is in progress (by Yoann Congal) Test results: - tested with oe-selftest case for the Linux Rust sample for x86_64 and arm64. - tested with rust-out-of-tree kernel module in sdk for x86_64 and arm64. If everthing is fine, Can we send this as patch?. Harish Sadineni (9): bindgen-cli: extend BBCLASSEXTEND to include nativesdk linux-yocto: add clang-native,rust-native and bindgen-cli-native to DEPENDS rust: install Rust library sources for 'make rustavailable' support bitbake.conf: Include "rust-kernel" in native/nativesdk feature filters kernel-yocto: stage rustlib sources for linux-yocto 'make rustavailable' support kernel-yocto: add rust support via "make rustavailable" in do_kernel_configme linux-yocto: enable Rust support in kernel configuration kernel-yocto: Fix for buildpaths errors when rust is enabled for kernel kernel-devsrc: copying rust-kernel soucre to $kerneldir/build Yoann Congal (2): kernel-yocto.bbclass: Disable ccache when rust-kernel is enabled selftest/cases/runtime_test: Add test for Linux Rust sample meta/classes-recipe/kernel-yocto.bbclass | 28 +++++++++++++++++++ meta/conf/bitbake.conf | 4 +-- meta/lib/oeqa/selftest/cases/runtime_test.py | 24 ++++++++++++++++ .../bindgen-cli/bindgen-cli_0.72.1.bb | 2 +- meta/recipes-devtools/rust/rust_1.90.0.bb | 17 +++++++++++ .../recipes-kernel/linux/files/rust-debug.cfg | 1 + .../recipes-kernel/linux/files/rust-debug.scc | 3 ++ .../linux/files/rust-samples.cfg | 4 +++ .../linux/files/rust-samples.scc | 3 ++ meta/recipes-kernel/linux/files/rust.cfg | 3 ++ meta/recipes-kernel/linux/files/rust.scc | 3 ++ meta/recipes-kernel/linux/kernel-devsrc.bb | 4 +++ meta/recipes-kernel/linux/linux-yocto.inc | 2 ++ meta/recipes-kernel/linux/linux-yocto_6.16.bb | 2 ++ meta/recipes-kernel/linux/linux-yocto_6.17.bb | 2 ++ 15 files changed, 99 insertions(+), 3 deletions(-) create mode 100644 meta/recipes-kernel/linux/files/rust-debug.cfg create mode 100644 meta/recipes-kernel/linux/files/rust-debug.scc create mode 100644 meta/recipes-kernel/linux/files/rust-samples.cfg create mode 100644 meta/recipes-kernel/linux/files/rust-samples.scc create mode 100644 meta/recipes-kernel/linux/files/rust.cfg create mode 100644 meta/recipes-kernel/linux/files/rust.scc