lizhuohua / linux-kernel-module-rust

GNU General Public License v2.0
634 stars 27 forks source link

Targetting new kernels and new versions of Rust Nightly #5

Open hMihaiDavid opened 3 years ago

hMihaiDavid commented 3 years ago

Hi, thank you for this repository.

I am trying to write a minimal kernel driver based on this repo (without the bindgen) and I encountered some issue:

I would appreciate any help in this regard and it could lead eventually to make this repo work with recent versions of the kernel and rust.

Related links

https://github.com/fishinabarrel/linux-kernel-module-rust/issues/173 https://users.rust-lang.org/t/how-can-i-enable-plt-in-a-custom-target/57332 https://internals.rust-lang.org/t/function-calls-plt-vs-gotpcrel/8909