The NatVis integration feature in Rust does not need to be made conditional. It was designed so that you can declare a NatVis file for any crate and the Rust compiler determines whether that is enabled for a particular platform. Right now, it's only enabled for Windows. On other platforms, it is safely and silently ignored.
So we don't need any conditional logic around NatVis.
The NatVis integration feature in Rust does not need to be made conditional. It was designed so that you can declare a NatVis file for any crate and the Rust compiler determines whether that is enabled for a particular platform. Right now, it's only enabled for Windows. On other platforms, it is safely and silently ignored.
So we don't need any conditional logic around NatVis.