Skip to the content.

收集一些和 rust 有关的项目

搭建 rust 的环境

这里提到了很多资源

qemu 也开始跟进了

真复杂啊

https://mp.weixin.qq.com/s/WozICJf39UMvx9cYzAG0Ow

用户态的支持

https://github.com/libbpf/libbpf-sys

基本的测试

居然需要把这两个去掉:

CONFIG_MODVERSIONS=y
CONFIG_ASM_MODVERSIONS=y

之前真的忘记了,到底为什么设置发上这两个

而且,作用是什么?

看看这个

https://mp.weixin.qq.com/s/XngV6_kG6IZS0Vzm49vfZg

思考一下,rust 带来了什么问题?

编译上的所有的问题:

ebpf / kprobe / ftrace / link (percpu)

将其中的大讨论整理一下

很好的总结

https://news.ycombinator.com/item?id=42253814

总结

https://www.infoq.cn/article/jeiFQpEtCg47ZWBK8IJ3

环境搭建

其实没那么难,如果各种环境都升级了之后: https://github.com/Rust-for-Linux/rust-out-of-tree-module https://github.com/mboyar/docker-dev-env-linux-kernel-rust/blob/main/x86_64/Dockerfile

参考这里的命令 ? : https://github.com/mboyar/docker-dev-env-linux-kernel-rust/blob/main/x86_64/Dockerfile

天天讨论

https://news.ycombinator.com/item?id=43101204 https://lore.kernel.org/rust-for-linux/CAHk-=wgLbz1Bm8QhmJ4dJGSmTuV5w_R0Gwvg5kHrYr4Ko9dUHQ@mail.gmail.com/

按照这个搭建环境还是不错的

https://mp.weixin.qq.com/s/vfA2PfBl6uVksWQ39SPAkw

这个看看

入门rust是读rust语言圣经好还是读微软的教程好? - Blackbird的回答 - 知乎 https://www.zhihu.com/question/585031734/answer/3523366806

6.18 版本中 binder 修改为 rust 了

commit eafedbc7c050 (“rust_binder: add Rust Binder driver”)k https://lore.kernel.org/all/20250919-rust-binder-v2-1-a384b09f28dd@google.com/

有趣的

https://mp.weixin.qq.com/s/flQRGWUQDhDea56cTDSNOg

也许可以测试下这个 binder 工具

commit eafedbc7c050 (“rust_binder: add Rust Binder driver”)k https://lore.kernel.org/all/20250919-rust-binder-v2-1-a384b09f28dd@google.com/

debugfs 的 rust 接口

2026-01-02 已经合并了: https://mp.weixin.qq.com/s/QFi-_Xu4fLseqEL7Rs76Bg

tyr

https://lwn.net/Articles/1055590/

lwn

https://mp.weixin.qq.com/s/DH_bSrQ-Upfpckl9w1Muwg

本站所有文章转发 CSDN 将按侵权追究法律责任,其它情况随意。