书栈网 · BookStack 本次搜索耗时 0.014 秒,为您找到 591 个相关结果.
  • 4.1. Build Commands

    Build Commands Build Commands 4.1.1. bench 4.1.2. build 4.1.3. check 4.1.4. clean 4.1.5. doc 4.1.6. fetch 4.1.7. fix 4.1.8. run 4.1.9. rustc 4.1.10. rustdoc 4.1.11. ...
  • Compiling and Linking in More Detail

    Compiling and Linking in More Detail Your main() entry point Processing command-line arguments Use a crate - easy command-line processing Exit code Optimized compilation Incre...
  • 3.3. Lint listing

    435 2020-02-11 《The rustc book》
    Lint listing Lint listing This section lists out all of the lints, grouped by their default lint levels. You can also see this list by running rustc -W help .
  • 2.1. Why Cargo Exists

    Why Cargo Exists Why Cargo Exists Cargo is a tool that allows Rust packages to declare their variousdependencies and ensure that you’ll always get a repeatable build. To accom...
  • Introduction

    1142 2020-12-25 《Tokio v1.0 Tutorial》
    Tutorial Mini-Redis Getting Help Prerequisites Rust Mini-Redis server Ready to go Tutorial This tutorial will take you step by step through the process of building a Redi...
  • Introduction

    1274 2021-05-16 《Tokio v1.6 Tutorial》
    Tutorial Mini-Redis Getting Help Prerequisites Rust Mini-Redis server Ready to go Tutorial This tutorial will take you step by step through the process of building a Redi...
  • 1.2. Hello, World!

    Hello, World! 创建项目目录 编写并运行 Rust 程序 分析这个 Rust 程序 编译和运行是彼此独立的步骤 Hello, World! ch01-02-hello-world.md commit 3709acaf30b7e8e520c53e02aa8081f33f4a4c17 既然安装好了 Rust,我们来编写第...
  • 5.3.条件编译

    条件编译 cfg_attr cfg! 条件编译 conditional-compilation.md commit ccb1d87d6faa9ff528d22b96595a0e2cbb16c0f2 Rust 有一个特殊的属性,#[cfg] ,它允许你基于一个传递给编译器的标记编译代码。它有两种形式: #[ cfg ( foo )] ...
  • 链接库到crate中

    1002 2018-04-27 《Rust学习笔记》
    链接外部crate 从crate创建库 链接到当前crate crate名称中的分隔符 链接外部crate 从crate创建库 首先创建一个create文件app.rs : pub fn init () { println !( "call init" ); } 先把这个crate文件编译为库,此时rus...
  • 7.5. grabc

    458 2020-01-06 《C2Rust Manual》
    grabc Getting Started Transpiling grabc Getting Started If the repo submodule appears to be empty or out of date, you may need to run git submodule update —init path/to/rep...