YuNing's Thought

Home

❯

Notes

❯

Rust Compiler

Rust Compiler

Dec 30, 20251 min read

Conditional Compilation

Source code can be conditionally compiled using the attributes cfg and cfg_attr and the built-in cfg macro.

  • Conditional compilation - The Rust Reference

Rustup

rustup install nightly
rustup override set nightly

Graph View

  • Conditional Compilation
  • Rustup

Backlinks

  • Rust

Created with Quartz v4.5.2 © 2025

  • GitHub
  • Discord Community