书栈网 · BookStack 本次搜索耗时 0.019 秒,为您找到 1523 个相关结果.
  • 2.4. Communicating with humans

    Communicating with humans When everything is fine When it’s hard to tell what’s going on Example log statements When panicking Communicating with humans Make sure to read t...
  • Setup

    Setup Configure your path and other environment variables How to list your environment variables How to get a single environment variable’s value Setup To get the most out of...
  • Setup

    Setup Configure your path and other environment variables How to list your environment variables How to get a single environment variable’s value Setup To get the most out of...
  • Accepting sockets

    647 2020-12-25 《Tokio v1.0 Tutorial》
    Accepting sockets Accepting sockets The first thing our Redis server needs to do is to accept inbound TCP sockets. This is done with tokio::net::TcpListener . Many of Tokio’...
  • Installation

    249 2021-04-17 《Deno v1.9.0 Manual》
    Installation Download and install Testing your installation Updating Building from source Installation Deno works on macOS, Linux, and Windows. Deno is a single binary exec...
  • Using wasm-bindgen

    Using wasm-bindgen Install Build Serving your application Supported targets Further reading Using wasm-bindgen Install cargo install wasm - bindgen - cli Build Firs...
  • 7. Managing Growing Projects with Packages, Crates, and Modules

    Managing Growing Projects with Packages, Crates, and Modules Managing Growing Projects with Packages, Crates, and Modules As you write large programs, organizing your code will...
  • 集成测试

    集成测试 集成测试 单元测试 一次仅能单独测试一个模块,这种测试是小规模的,并且能测试私有 代码;集成测试是 crate 外部的测试,并且仅使用 crate 的公共接口,就像其他使用 该 crate 的程序那样。集成测试的目的是检验你的库的各部分是否能够正确地协同工作。 cargo 在与 src 同级别的 tests 目录寻找集成测试。 文件...
  • 移除 runtime 依赖

    移除 runtime 依赖 移除 runtime 依赖 代码 对于大多数语言,他们都使用了 运行时系统(runtime system) ,这导致 main 并不是他们执行的第一个函数。 以 Rust 语言为例:一个典型的链接了标准库的 Rust 程序会首先跳转到 C runtime library 中的 crt0(C runtime zer...
  • Using trunk

    Using trunk Install Usage Using trunk Install cargo install -- locked trunk cargo install wasm - bindgen - cli Usage Check out “Build a sample app” for a short guide ...