Next: Named Address Spaces, Previous: D Language and ABI, Up: Target Macros [Contents][Index]

### 18.30 Rust ABI parameters

Rust Target Hook: void TARGET_RUST_CPU_INFO (void)

  Declare all environmental CPU info and features relating to the target CPU using the function `rust_add_target_info`, which takes a string representing the feature key and a string representing the feature value. Configuration pairs predefined by this hook apply to all files that are being compiled.

Rust Target Hook: void TARGET_RUST_OS_INFO (void)

  Similar to `TARGET_RUST_CPU_INFO`, but is used for configuration info relating to the target operating system.