rust-for-linux.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Mentorship Session: Writing Linux Kernel Modules in Rust
@ 2022-07-24 19:46 Leandro Coutinho
  0 siblings, 0 replies; only message in thread
From: Leandro Coutinho @ 2022-07-24 19:46 UTC (permalink / raw)
  To: rust-for-linux; +Cc: wedsonaf

Hi,

I don't know if it was already shared here, but Wedson did a nice presentation
for the Linux Foundation:

Mentorship Session: Writing Linux Kernel Modules in Rust
https://www.linuxfoundation.org/webinars/writing-linux-kernel-modules-in-rust/

He uses Neovim with rust-analyzer.
It's nice that it provides code navigation, completion, pop-up
documentation, ... cool stuff
Here's a basic setup for those who wanna try:
https://gist.github.com/tivrfoa/e956f090ff549e9dd04c9ececd3912f1

And if you like to use VS Code, it's even simpler, just run:
1. make rust-analyzer
2. open VS Code from the project root folder (where rust-project.json
was created).
3. install rust-analyzer extension

I tested a small refactoring, changed a function name, and it renamed in
all files that use it.

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-07-24 19:46 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-07-24 19:46 Mentorship Session: Writing Linux Kernel Modules in Rust Leandro Coutinho

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).