pub fn arch(self) -> &'static str {
        match self {
            Platform::X86 => "i686",
            Platform::X64 => "x86_64",
        }
    }
/// Gets the name of the platform as an architecture string as used in Rust toolchains.
///
/// This is different from the string used in WiX Source (wxs) files. This is the string
/// commonly used for the `target_arch` conditional compilation attribute. To get the string
/// recognized in wxs files, use `format!("{}", Platform::X86)`.
///
/// # Examples
///
/// ```rust
/// use wix::Platform;
///
/// assert_eq!(Platform::X86.arch(), "i686");
/// assert_eq!(Platform::X64.arch(), "x86_64");
/// ```
Gets the name of the platform as an architecture string as used in Rust toolchains.
This is different from the string used in WiX Source (wxs) files. This is the string
commonly used for the `target_arch` conditional compilation attribute. To get the string
recognized in wxs files, use `format!("{}", Platform::X86)`.
Gets the name of the platform as an architecture string as used in Rust toolchains . This is different from the string used in WiX Source ( wxs ) files . This is the string commonly used for the ` target_arch ` conditional compilation attribute . To get the string recognized in wxs files use ` format! ( " {} " Platform :: X86 ) ` .
pub fn arch(self) -> &'static str {
        match self {
            Platform::X86 => "i686",
            Platform::X64 => "x86_64",
        }
    }
pub fn arch ( self ) -> & ' static str { match self { Platform :: X86 => " " , Platform :: X64 => " " , } }
Gets the name of the platform as an architecture string as used in Rust toolchains.
Gets the name of the platform as an architecture string as used in Rust toolchains .
self
examples
```rust
use wix::Platform.


` ` ` rust use wix :: Platform .