jordanisaacs / kernel-module-flake Goto Github PK
View Code? Open in Web Editor NEWNix flake for linux kernel module development with rust support
License: MIT License
Nix flake for linux kernel module development with rust support
License: MIT License
Right now you can compile rust kernel modules and use them, but actual development is still difficult because it does not support rust-analyzer.
Investigate: Rust-for-Linux/rust-out-of-tree-module#2
Thanks for the great project. Are you aware of the necessary changes to make the VM work on a M1 aarch64 machine?
Kernel 6.1 now supports rust. I will wait to see if nixpkgs decides to package 6.1 with CONFIG_RUST
. If so then the primary thing to figure out is compiling rust kernel modules. Otherwise, will also need to figure out compiling the kernel with rust support.
Recieve an error for the module!
proc macro on both 6.1 and RFL. Full error is:
proc macro `module` not expanded: Proc-macro dylib loading failed: No such file or directory (OS Error 2)
See if enabling ccache[1] for nix builds speeds up kernel compilation times. Need to look at these workarounds[2]. If it works well can enable the use case of in tree kernel development.
As the flake gets more complex with more options, the flake.nix
file is getting cumbersome (already at ~700 lines). Refactor it it into multiple files.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.