From: "Matt Staveley-Taylor" <matt.stav.taylor@gmail.com>
To: "Thomas Petazzoni" <thomas.petazzoni@bootlin.com>
Cc: buildroot@buildroot.org
Subject: Re: [Buildroot] [PATCH 0/2] Add bcachefs-tools package
Date: Tue, 09 Apr 2024 23:43:29 +0100 [thread overview]
Message-ID: <D0FYEL09CD80.1UJQPUQZNKEPS@gmail.com> (raw)
In-Reply-To: <20240408225410.6a8ba988@windsurf>
On Mon Apr 8, 2024 at 9:54 PM BST, Thomas Petazzoni wrote:
> On Mon, 8 Apr 2024 02:38:43 +0100
> Matt Staveley-Taylor <matt.stav.taylor@gmail.com> wrote:
> > This package depends on host-clang to provide libclang, which is used to
> > generate C <-> Rust bindings.
>
> But do we need to unconditionally compile the C <-> Rust bindings?
The main binary and some of the subcommands are written in Rust, but
most of them are written in C. The Rust main calls into the C
subcommands using a tool called bindgen which generates Rust glue to
interface with the C code.
So unfortunately I don't see a good way to avoid building host-clang
here.
Matt
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
next prev parent reply other threads:[~2024-04-09 22:43 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-04-08 1:38 [Buildroot] [PATCH 0/2] Add bcachefs-tools package Matt Staveley-Taylor
2024-04-08 1:38 ` [Buildroot] [PATCH 1/2] package: add support for extracting zstd archives Matt Staveley-Taylor
2024-07-14 20:48 ` Thomas Petazzoni via buildroot
2024-04-08 1:38 ` [Buildroot] [PATCH 2/2] package/bcachefs-tools: new package Matt Staveley-Taylor
2024-07-14 20:56 ` Thomas Petazzoni via buildroot
2024-04-08 20:54 ` [Buildroot] [PATCH 0/2] Add bcachefs-tools package Thomas Petazzoni via buildroot
2024-04-09 22:43 ` Matt Staveley-Taylor [this message]
2024-04-10 9:30 ` Thomas Petazzoni via buildroot
2024-04-11 1:32 ` Matt Staveley-Taylor
2024-04-11 12:48 ` Thomas Petazzoni via buildroot
2024-04-11 22:51 ` Matt Staveley-Taylor
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=D0FYEL09CD80.1UJQPUQZNKEPS@gmail.com \
--to=matt.stav.taylor@gmail.com \
--cc=buildroot@buildroot.org \
--cc=thomas.petazzoni@bootlin.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox