compiler/rustc_codegen_cranelift/build_system/usage.txt 49 lines View on github.com → Search inside
1The build system of cg_clif.23USAGE:4    ./y.sh prepare [--out-dir DIR] [--download-dir DIR]5    ./y.sh build [--sysroot none|clif|llvm] [--out-dir DIR] [--download-dir DIR] [--no-unstable-features] [--frozen]6    ./y.sh test [--sysroot none|clif|llvm] [--out-dir DIR] [--download-dir DIR] [--no-unstable-features] [--frozen] [--skip-test TESTNAME]7    ./y.sh abi-cafe [--sysroot none|clif|llvm] [--out-dir DIR] [--download-dir DIR] [--no-unstable-features] [--frozen]8    ./y.sh bench [--sysroot none|clif|llvm] [--out-dir DIR] [--download-dir DIR] [--no-unstable-features] [--frozen]9    ./y.sh check-todo1011OPTIONS:12    --sysroot none|clif|llvm13            Which sysroot libraries to use:14            `none` will not include any standard library in the sysroot.15            `clif` will build the standard library using Cranelift.16            `llvm` will use the pre-compiled standard library of rustc which is compiled with LLVM.1718    --out-dir DIR19            Specify the directory in which the download, build and dist directories are stored.20            By default this is the working directory.2122    --download-dir DIR23            Specify the directory in which the download directory is stored. Overrides --out-dir.2425    --no-unstable-features26            Some features are not yet ready for production usage. This option will disable these27            features. This includes the JIT mode and inline assembly support.2829    --panic-unwind-support30            Enable support for unwinding when -Cpanic=unwind is used. This currently regresses build31            performance.3233    --frozen34            Require Cargo.lock and cache are up to date3536    --skip-test TESTNAME37            Skip testing the TESTNAME test. The test name format is the same as config.txt.3839    --use-backend NAME40            Use the existing Cranelift (or other) backend of the rustc with which we built.41            Warning: This is meant for use in rust's CI only!4243REQUIREMENTS:44    * Rustup: By default rustup is used to install the right nightly version. If you don't want to45      use rustup, you can manually install the nightly version indicated by rust-toolchain.toml and46      point the CARGO, RUSTC and RUSTDOC env vars to the right executables.47    * Git: Git is used for downloading test repos and applying patches.48    * [Hyperfine](https://github.com/sharkdp/hyperfine/): Used for benchmarking with `./y.sh bench`.

Findings

✓ No findings reported for this file.

Get this view in your editor

Same data, no extra tab — call code_get_file + code_get_findings over MCP from Claude/Cursor/Copilot.