From mboxrd@z Thu Jan 1 00:00:00 1970 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 1C61FC77B7F for ; Fri, 12 May 2023 04:23:53 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231545AbjELEXv (ORCPT ); Fri, 12 May 2023 00:23:51 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43226 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230422AbjELEXu (ORCPT ); Fri, 12 May 2023 00:23:50 -0400 X-Greylist: delayed 331 seconds by postgrey-1.37 at lindbergh.monkeyblade.net; Thu, 11 May 2023 21:23:48 PDT Received: from out-12.mta1.migadu.com (out-12.mta1.migadu.com [IPv6:2001:41d0:203:375::c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E59923AA5 for ; Thu, 11 May 2023 21:23:48 -0700 (PDT) Date: Fri, 12 May 2023 00:18:10 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1683865094; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=NiQ1GTCfwkWMdplG3qArgYrAlr515St2shp4EUM3owU=; b=iHj6AK9y6WnaIuOjTn7bOCthF66M3Flcts86O4VxVupt8eQSWQOoKQaC51WfCtklT1tjMN ssq1n8t8L1yax8ch8xdLAUdlnrjdtmQKB4MqdhF6xx5HtLQF2M3hhKBnmlMDlfiD45zexu wNY6qGQUANyjBPUR5tpRLbG1RH053io= X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. From: Kent Overstreet To: TruongSinh Tran-Nguyen Cc: Miguel Ojeda , rust-for-linux@vger.kernel.org, Wedson Almeida Filho , linux-bcachefs@vger.kernel.org, Andreas Hindborg Subject: Re: [PATCH] chore(util): minimal Rust build example Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Migadu-Flow: FLOW_OUT Precedence: bulk List-ID: X-Mailing-List: rust-for-linux@vger.kernel.org On Thu, May 11, 2023 at 09:16:19PM -0700, TruongSinh Tran-Nguyen wrote: > > This doesn't sound like a uapi question, it sounds more like - how do we > > expose C interfaces from Rust? > > No, I do mean UAPI, as exposing C interfaces from Rust (to be consumed > by C code) is known. I'm interested in exposing Rust API (from kernel) > to be consumed by user-space Rust code. What's your use case?