All of lore.kernel.org
 help / color / mirror / Atom feed
From: Greg KH <gregkh@linuxfoundation.org>
To: "Nándor Krácser" <bonifaido@gmail.com>
Cc: Miguel Ojeda <miguel.ojeda.sandonis@gmail.com>,
	Alex Gaynor <alex.gaynor@gmail.com>,
	rust-for-linux <rust-for-linux@vger.kernel.org>
Subject: Re: Using 3rd party crates in an out-of-tree module
Date: Wed, 23 Mar 2022 12:40:28 +0100	[thread overview]
Message-ID: <YjsHLJPb2haKbOBg@kroah.com> (raw)
In-Reply-To: <CAHkG_ewQ3uJBTTPQ24+faW6v2ZHvGhTR2qTpfrj6URTr6hy0SQ@mail.gmail.com>

On Wed, Mar 23, 2022 at 10:40:33AM +0100, Nándor Krácser wrote:
> Currently I'm experimenting with different crates which I would like
> to use in my module, serialization libraries, math libraries. etc,

You really do not want that type of code in your kernel module.  Adding
functionality to the kernel rust crate should be the only way to do
this, for good reasons.  Not the least being that userspace crates have
no idea about the restrictions that occur when having to run within the
kernel.

thanks,

greg k-h

  reply	other threads:[~2022-03-23 11:40 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-03-21  9:40 Using 3rd party crates in an out-of-tree module Nándor Krácser
2022-03-21 14:36 ` Alex Gaynor
2022-03-21 23:14   ` Miguel Ojeda
2022-03-23  9:40     ` Nándor Krácser
2022-03-23 11:40       ` Greg KH [this message]
2022-03-21 16:49 ` Miguel Ojeda

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=YjsHLJPb2haKbOBg@kroah.com \
    --to=gregkh@linuxfoundation.org \
    --cc=alex.gaynor@gmail.com \
    --cc=bonifaido@gmail.com \
    --cc=miguel.ojeda.sandonis@gmail.com \
    --cc=rust-for-linux@vger.kernel.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.