<?xml version="1.0" encoding="utf-8"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"><channel><title>MagicLen</title><link>https://magiclen.org/cn/tag/%E4%BA%A4%E5%8F%89%E7%B7%A8%E8%AD%AF/</link><description>多元化原创文章，内容包罗万象，有编程语言、网站应用、软件介绍、硬件介绍、操作系统、旅行游记、专题采访、益智问题、文学创作，以及作者们的知识分享和作品分享。</description><language>zh-CN</language><lastBuildDate>Sun, 22 Nov 2026 19:04:37 +0800</lastBuildDate><atom:link href="https://magiclen.org/cn/tag/%E4%BA%A4%E5%8F%89%E7%B7%A8%E8%AD%AF/feed/" rel="self" type="application/rss+xml"/><sy:updatePeriod>hourly</sy:updatePeriod><sy:updateFrequency>8</sy:updateFrequency><sy:updateBase>1970-01-01T00:00+00:00</sy:updateBase><item><title>如何在 Linux 操作系统上交叉编译 Rust 程序？</title><link>https://magiclen.org/cn/rust-cross-compile/</link><description><![CDATA[<img src="https://magiclen.org/wp-content/uploads/2018/04/rust-220x162.png" srcset="https://magiclen.org/wp-content/uploads/2018/04/rust-220x162.png 1x, https://magiclen.org/wp-content/uploads/2018/04/rust-440x324.png 2x, https://magiclen.org/wp-content/uploads/2018/04/rust-660x486.png 3x" alt>
当 Rust 程序开发完成，要进入部署阶段的时候，开发时用的系统环境和投入使用时用的系统环境不一定会相同，例如用 x86_64 台式机和 Linux 操作系统开发 ARM64 树莓派上的程序，在部署的时候我们就需要针对树莓派所使用的 CPU 架构和操作系统来做程序的重新编译，否则如果直接将 x86_64 台式机的 Linux 操作系统下编译出来的程序，放到 ARM64 树莓派内的话，就算都是使用 ...]]></description><category>Rust</category><category>Rust</category><category>Docker</category><category>交叉编译</category><guid>https://magiclen.org/cn/rust-cross-compile</guid><pubDate>Wed, 7 Nov 2018 20:00:48 +0800</pubDate><dc:creator>Magic Len</dc:creator></item></channel></rss>