#[platform_specific]
Expand description
Indicate code with behavior tied to specific platforms.
Accepts a string literal describing the platform dependencies,
like #[platform_specific("windows")]
or #[platform_specific("linux, macos")]
.
This attribute does not modify the item it annotates.