“ Linux 内核开始为 Rust 1.78 升级做准备 头条 ”
Linux 内核的 Rust 代码正准备升级到 Rust 1.78,该版本将在一个月后发布为稳定版。 虽然Rust 1.78要到5月初才会发布,不过由米格尔-奥赫达Miguel Ojeda领导的Rust Linux内核开发人员已经在为下一次升级做准备了。 随着向 Rust 1.78 的转变,这是他们第一次不再需要”alloc”分叉代码,同时也为Linux 内核的 Rust 分配应用程序接口扫清了道路,进而实现其他功能,如就地模块初始化。 Rust 1.78 升级补丁完成升级后,只需丢弃一些多余的导入,并为 LockClassKey 执行”Default”默认作为兼容性更改。 Rust 1.78 新增了”feature(asm_goto)“特性、支持指向 Rust 静态的可变指针、启用调试断言时检查所有不安全的前置条件等。有关 Rust 1.78 总体变更的更多详情,请访问releases.rs。 Rust 1.78 版本计划在 5 月 2 日左右发布,以便为下一个内核周期Linux 6.10的内核代码升级留出时间。
每日一言
"<!doctype html> <html lang="Zh-cn"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta name="robots" content="noindex,nofollow"> <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"/> <meta name="renderer" content="webkit"> <title>您请求的文件不存在!</title> <link type="text/css" rel="stylesheet" href="https://www.oick.cn/css/404.css" /> <link rel="shortcut icon" href="http://www.oick.cn/favicon.ico" type="image/x-icon" /> </head> <body> <div id="wrap"> <div> <img src="https://www.oick.cn/imgs/404.png" alt="404" /> </div> <div id="text"> <strong> <span></span> <a href="javascript:history.back()">返回上一页</a> </strong> </div> </div> <div class="animate below"></div> <div class="animate above"></div> </body> </html>"