<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
  <channel>
    <title>XiXingWL - Rust语言</title>
    <link>https://ww.xixingwl.cn/forum-89-1.html</link>
    <description>Latest 20 threads of Rust语言</description>
    <copyright>Copyright(C) XiXingWL</copyright>
    <generator>Discuz! Board by Comsenz Inc.</generator>
    <lastBuildDate>Sun, 19 Apr 2026 10:14:44 +0000</lastBuildDate>
    <ttl>60</ttl>
    <image>
      <url>https://ww.xixingwl.cn/static/image/common/logo_88_31.gif</url>
      <title>XiXingWL</title>
      <link>https://ww.xixingwl.cn/</link>
    </image>
    <item>
      <title>Rust中编写一个Windows系统服务</title>
      <link>https://ww.xixingwl.cn/thread-322-1-1.html</link>
      <description><![CDATA[在Rust中编写一个Windows系统服务可以使用windows_service库来实现。下面是一个简单的例子演示如何使用windows_service库来编写一个Windows系统服务：

首先，在Cargo.toml文件中添加如下依赖：

然后，创建一个新的Rust文件如main.rs，并编写以下代码：


在上面的代码 ...]]></description>
      <category>Rust语言</category>
      <author>shiy720</author>
      <pubDate>Thu, 13 Jun 2024 07:56:40 +0000</pubDate>
    </item>
    <item>
      <title>这是传统的 Hello World 程序的源码。</title>
      <link>https://ww.xixingwl.cn/thread-312-1-1.html</link>
      <description><![CDATA[println! 是一个宏（macros），可以将文本输出到控制台（console）。
使用 Rust 的编译器 rustc 可以从源程序生成可执行文件：
使用 rustc 编译后将得到可执行文件 hello。
动手试一试
单击上面的 \&quot;Run\&quot; 按钮并观察输出结果。然后增加一行代码，再一次使用宏 println!， ...]]></description>
      <category>Rust语言</category>
      <author>shiy720</author>
      <pubDate>Wed, 29 May 2024 01:43:50 +0000</pubDate>
    </item>
    <item>
      <title>不依赖Visual Studio就能运行rust的方法</title>
      <link>https://ww.xixingwl.cn/thread-311-1-1.html</link>
      <description><![CDATA[安装Visual Studio或Build Tools，那样解决很麻烦，而且电脑配置没有那么好的情况下，去下载VS，你的电脑更加经不起折腾了。
查阅了很多资料，发现可以不依赖VS就能运行rust，使用如下指令即可

出现如下信息代表下载好

下载安装之后，运行下面指令


 ...]]></description>
      <category>Rust语言</category>
      <author>shiy720</author>
      <pubDate>Wed, 29 May 2024 01:41:38 +0000</pubDate>
    </item>
  </channel>
</rss>