Skip to main content

Module macros

Module macros 

Source
Expand description

This module defines two macros:

  • define_config!: A declarative macro used instead of #[derive(Deserialize)] to reduce compile time and binary size, especially for the bootstrap binary.

  • check_ci_llvm!: A compile-time assertion macro that ensures certain settings are not enabled when download-ci-llvm is active.

A declarative macro is used here in place of a procedural derive macro to minimize the compile time of the bootstrap process.

Macrosยง

check_ci_llvm ๐Ÿ”’
define_config ๐Ÿ”’