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 9279CC46467 for ; Mon, 16 Jan 2023 04:18:55 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231650AbjAPESx (ORCPT ); Sun, 15 Jan 2023 23:18:53 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53852 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231910AbjAPESj (ORCPT ); Sun, 15 Jan 2023 23:18:39 -0500 Received: from mail-vk1-xa2b.google.com (mail-vk1-xa2b.google.com [IPv6:2607:f8b0:4864:20::a2b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A31E79006 for ; Sun, 15 Jan 2023 20:18:26 -0800 (PST) Received: by mail-vk1-xa2b.google.com with SMTP id l185so9617221vke.2 for ; Sun, 15 Jan 2023 20:18:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=QLo9yAHsHm94mDVBHYQdPCAGmoHnGdGAbajlskQEFlU=; b=PebSSrjq4KC1GIm7zyXdpU3BlpeF9Ezg2A2wGYiV3WBIA8VYOfBfH5+YOwxuW3q4Lg 6Lkwfyds4pZjHFDeWAvQbXMASWTkY8bWHbgzyx6reMTn6BieXHFB+cPkPrdpR21WvfXg ivsBtzqdxYy7NqxXjdA9MdjfCpbG0//g+r5R1vZYT868UsgfRAoAydU3wzLlGL1x2X2B p6Tny1EbMeWiUEoSHnka0VlLxp6LEanSsFOaw8SV8umC8gWpseiUX5KF4vUcD61S+8HB QPnbGNj28m7ic1yk4WI4hodYKCtSOXegWShm8QbNpEZkWWF9BNW4Hg6Gj0WuuV9B3mtB PNvQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=QLo9yAHsHm94mDVBHYQdPCAGmoHnGdGAbajlskQEFlU=; b=qvHvZcgNJo1THqVhJsqHWCw0wPseRybYY8ujGOy+BAKZCfVkiCaisT3djwQqGwdTBk 32Uz96kFxDD2pSOuTvtcAK1sNeq4Xiewqxtu5MWkRpBMHOpdaVocoI0NlQIzZB57SAuT vEqfWapw6CCxhL/TRcCmXRsHbBXLooCQGhJNIMDD11NX7xEVKB39xZ0DA4ifUjgoHlFi pQ5Xm1ndTVmRJdinZcgKfSmzSX8gB2zTAwLzxEa8DSxkC+C9PfYPtMPpPtfmJOpP/mba sod0VT11Z4ffOM1S/acC/9TJITAe+nS6CsWnn5Ik+Gw3GN/g4pIwTGV/zOPiHb794D1r KmnA== X-Gm-Message-State: AFqh2kragXgybvvJ3Sy21Bs4hc5yileNXlj6wsURycj0taXhVgC1SfAz bg+fumDaM6oL31uymGeaL003ib6n6D6GFO/qWvQ= X-Google-Smtp-Source: AMrXdXtkm3CGx8KlHvZlG6aAh8AauqHXO6gljquIbdBVSJxE2iu4ppyCWaErOJKfoGBX8/C0thM5VMZhcJtuT9YJqK4= X-Received: by 2002:a1f:17d0:0:b0:3dd:fa8a:7a36 with SMTP id 199-20020a1f17d0000000b003ddfa8a7a36mr768436vkx.33.1673842705234; Sun, 15 Jan 2023 20:18:25 -0800 (PST) MIME-Version: 1.0 References: <20230114095523.460879-1-ammar.faizi@intel.com> <20230114095523.460879-3-ammar.faizi@intel.com> <3d217e11-2732-2b85-39c5-1a3e2e3bb50b@kernel.dk> <34a2449a-8500-4081-dc60-e6e45ecb1680@kernel.dk> In-Reply-To: <34a2449a-8500-4081-dc60-e6e45ecb1680@kernel.dk> From: Christian Mazakas Date: Sun, 15 Jan 2023 20:18:14 -0800 Message-ID: Subject: Re: [RFC PATCH v1 liburing 2/2] README: Explain about FFI support To: Jens Axboe Cc: Ammar Faizi , Pavel Begunkov , Gilang Fachrezy , io-uring Mailing List , VNLX Kernel Department , "GNU/Weeb Mailing List" Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: io-uring@vger.kernel.org Hmm, how about something more like this: +Because liburing's main public interface lives entirely in liburing.h as `static inline` +functions, users wishing to consume liburing purely as a binary dependency should +link against liburing-ffi. liburing-ffi contains definitions for every `static inline` function +in liburing.h. - Christian