The following attributes can be used to express platform-specific behaviour in Rust.

  • target_os
  • target_family
  • target_endian
  • And so on

Suggest An Answer

No suggestions avaliable!