thread-id 4.2.1

Get a unique thread ID
Documentation
environment:
  matrix:
    # Test the minimum supported version, the current version at the time of
    # writing, and the moving targets beta and nightly, but not every single
    # version in between.
    - target: 1.34.2-x86_64-pc-windows-msvc
    - target: 1.34.2-i686-pc-windows-msvc
    - target: 1.50.0-x86_64-pc-windows-msvc
    - target: 1.50.0-i686-pc-windows-msvc
    - target: beta-x86_64-pc-windows-msvc
    - target: beta-i686-pc-windows-msvc
    - target: beta-x86_64-pc-windows-gnu
    - target: beta-i686-pc-windows-gnu
    - target: nightly-x86_64-pc-windows-msvc
    - target: nightly-i686-pc-windows-msvc
    - target: nightly-x86_64-pc-windows-gnu
    - target: nightly-i686-pc-windows-gnu

install:
  # Download the Rust and Cargo installer.
  - ps: Start-FileDownload "https://static.rust-lang.org/dist/rust-${env:target}.msi"

  # Install Rust and Cargo and wait for installation to finish by using Write-Output.
  - ps: msiexec /package "rust-${env:target}.msi" /quiet /norestart | Write-Output

  # Pick up the new Path variable after the installer modified it.
  - ps: $env:Path = [System.Environment]::GetEnvironmentVariable("Path","Machine")

  # Print versions for future reference.
  - rustc --version
  - cargo --version

build_script:
  - cargo build

test_script:
  - cargo test