0 votes
in Rust by
How to express platform-specific behaviour in Rust?

1 Answer

0 votes
by

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

  1. target_os
  2. target_family
  3. target_endian

And so on

...