书栈网 · BookStack 本次搜索耗时 0.012 秒,为您找到 591 个相关结果.
  • 7. Profile-guided Optimization

    774 2020-02-11 《The rustc book》
    Profile Guided Optimization What Is Profiled-Guided Optimization? Usage A Complete Cargo Workflow Troubleshooting Further Reading Profile Guided Optimization rustc suppor...
  • Child processes

    Child processes Child processes The process::Output struct represents the output of a finished child process,and the process::Command struct is a process builder. use std :...
  • 自定义条件

    自定义条件 自定义条件 有部分条件如 target_os 是由 rustc 隐式地提供的,但是自定义条件必须使用 --cfg 标记来传给 rustc 。 #[cfg(some_condition)] fn conditional_function () { println !( "condition met!" ) ...
  • 子进程

    子进程 子进程 process::Output 结构体表示已结束的子进程(child process)的输出,而 process::Command 结构体是一个进程创建者(process builder)。 use std :: process :: Command ; fn main () { let outpu...
  • 子进程

    子进程 子进程 process::Output 结构体表示已结束的子进程(child process)的输出,而 process::Command 结构体是一个进程创建者(process builder)。 use std :: process :: Command ; fn main () { let outpu...
  • 环境配置

    环境配置 部署 Rust 编译环境 安装 cargo-liquid 安装 Binaryen(可选) 环境配置 注意 受限于网络情况及机器性能,本小节中部分依赖项的安装过程可能较为耗时,请耐心等待。必要时可能需要配置网络代理。 部署 Rust 编译环境 Liquid 智能合约的构建过程主要依赖 Rust 语言编译器rustc 及代码组织管...
  • Custom

    Custom Custom Some conditionals like target_os are implicitly provided by rustc , butcustom conditionals must be passed to rustc using the --cfg flag. #[cfg(some_condition)...
  • 3.2. Lint Groups

    550 2020-02-11 《The rustc book》
    Lint Groups Lint Groups rustc has the concept of a "lint group", where you can toggle several warningsthrough one name. For example, the nonstandard-style lint sets non-came...
  • 6.2. Custom Targets

    490 2020-02-11 《The rustc book》
    Custom Targets Custom Targets If you'd like to build for a target that is not yet supported by rustc , you can use a"custom target specification" to define a target. These targ...