书栈网 · BookStack 本次搜索耗时 0.015 秒,为您找到 1523 个相关结果.
  • The Rust Bookshelf

    The Rust Bookshelf The Cargo book The rustdoc book Rust By Example The Rust Bookshelf , each book is different. 随着Rust的文档不断发展,我们获得的远远超过了“The book”和参考资料。 我们现在收集了各种长篇文档,绰号“Ru...
  • Pre-built binaries

    Installing pre-built binaries Downloading and installing from your terminal Linux x86_64 macOS (x86_64 and Apple Silicon) Windows x86_64 Release URLs {version} identifier {pl...
  • Unit Test

    Unit Test Introduction Coverage Unit Test Introduction Unit tests are embedded into the codebase, usually placed next to the logic being tested. They are written using Rust’s...
  • Setting up a development environment

    864 2019-06-07 《Discovery》
    Setting up a development environment Documentation Tools rustc & Cargo itmdump cargo-binutils OS specific instructions Setting up a development environment Dealing wit...
  • Unit testing

    Unit testing Testing panics Running specific tests Ignoring tests Unit testing Tests are Rust functions that verify that the non-test code is functioning inthe expected mann...
  • 2.准备

    准备 安装 Rust 安装 Rust 卸载 疑难解答 Hello, world! 创建项目文件 编写并运行 Rust 程序 分析 Rust 程序 编译和运行是两个步骤 Hello, Cargo! 转换到 Cargo 创建源文件目录并移除旧的可执行文件 创建配置文件 构建并运行 Cargo 项目 发布构建 那个Cargo.lock ...
  • 2.1. Rust Ecosystem

    The Rust Ecosystem The Rust Ecosystem The Rust ecosystem consists of a number of tools, of which the main ones are: rustc : the Rust compiler which turns .rs files into bina...
  • 将你的代码迁移到新版本

    迁移你的代码到新版本 预览期 修复版本兼容性警告 切换到下一个版本 在新版本中编写惯用代码 迁移你的代码到新版本 新版本可能会改变您编写 Rust 的方式 - 它们会添加新的语法,语言和库功能,但也会删除功能。 例如,try ,async 和await 是 Rust 2018 中的关键字,但不在 Rust 2015中。 尽管如此,我们试图尽可...