首页
学习
活动
专区
圈层
工具
发布
首页
学习
活动
专区
圈层
工具
MCP广场
社区首页 >专栏 >【Rust日报】2022-07-28 使用 Rust 和 Cosmopolitan Libc 构建可移植可执行文件

【Rust日报】2022-07-28 使用 Rust 和 Cosmopolitan Libc 构建可移植可执行文件

作者头像
MikeLoveRust
发布2022-11-28 11:13:38
发布2022-11-28 11:13:38
5070
举报

文章 - 使用 Rust 和 Cosmopolitan Libc 构建可移植可执行文件

一次构建,到处运行。Rust 真的可以做到 Actually Portable Executables 吗?

本文作者使用 Cosmopolitan Libc 进行了一次探索,并成功构建了一个可以跨 Linux, Windows, MacOS, FreeBSD, NetBSD, OpenBSD 六个平台运行的 Rust 可执行程序。

Actually Portable Executables with Rust and Cosmopolitan Libc: https://ahgamut.github.io/2022/07/27/ape-rust-example/

Crate - ahgamut/rust-ape-example: https://github.com/ahgamut/rust-ape-example

GitHub - jart/cosmopolitan: https://github.com/jart/cosmopolitan

文章 - 关键字泛型计划

在这篇文章中,介绍了新的关键字泛型计划,解释为什么会存在这样一个企划,并展示了一个简短的例子。

该倡议在 Rust Zulip 的 t-lang/keyword-generics 上非常活跃 —— 如果您对此感兴趣,请访问!

Announcing the Keyword Generics Initiative: https://blog.rust-lang.org/inside-rust/2022/07/27/keyword-generics.html

Zulip - t-lang/keyword-generics: https://rust-lang.zulipchat.com/#narrow/stream/328082-t-lang.2Fkeyword-generics

This Week in Rust 453

新一期的 Rust 周报速递发布,快来看看有哪些内容你曾经关注过 :)

This Week in Rust 453: https://this-week-in-rust.org/blog/2022/07/27/this-week-in-rust-453/


From 日报小组 PsiACE

社区学习交流平台订阅:

  • Rust.cc 论坛: 支持 rss
  • 微信公众号:Rust 语言中文社区
本文参与 腾讯云自媒体同步曝光计划,分享自微信公众号。
原始发表:2022-07-28,如有侵权请联系 cloudcommunity@tencent.com 删除

本文分享自 Rust语言学习交流 微信公众号,前往查看

如有侵权,请联系 cloudcommunity@tencent.com 删除。

本文参与 腾讯云自媒体同步曝光计划  ,欢迎热爱写作的你一起参与!

评论
登录后参与评论
0 条评论
热度
最新
推荐阅读
目录
  • 文章 - 使用 Rust 和 Cosmopolitan Libc 构建可移植可执行文件
  • 文章 - 关键字泛型计划
  • This Week in Rust 453
领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档