Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix windows compilation errors #52

Merged
merged 6 commits into from Sep 2, 2019
Merged

Fix windows compilation errors #52

merged 6 commits into from Sep 2, 2019

Commits on Jul 19, 2019

  1. fix ~ add missing winapi module feature ("fileapi")

    - fixes "unresolved import `winapi::um::fileapi`" errors for windows builds
    rivy committed Jul 19, 2019
    Copy the full SHA
    bcb89a2 View commit details
    Browse the repository at this point in the history

Commits on Aug 24, 2019

  1. fix 'long_and_detailed' test for differing rustc versions

    - customize expected pretty-print output for windows platforms
      - work-around for debug print format changes between versions (see <rust-lang/rust#62794>)
    rivy committed Aug 24, 2019
    Copy the full SHA
    dc0e818 View commit details
    Browse the repository at this point in the history
  2. fix minimum rust version

    - *serde* configuration attributes require MRV >= 1.18.0
      - introduced in commit 67f173d; "Optional serde serialization feature for colours and styles"
    - `cargo test` now includes transitive dependencies which require MRV >= 1.28.0
    - use of the `#[must_use]` configuration attribute causes compiler warnings
      - warnings appear for compilers >= 1.22.0 and < 1.28.0
      - introduced in commit afe5c93; "Mark Style::paint and Colour::paint as #[must_use]"
    rivy committed Aug 24, 2019
    Copy the full SHA
    85883f4 View commit details
    Browse the repository at this point in the history
  3. Copy the full SHA
    f30e601 View commit details
    Browse the repository at this point in the history
  4. change ~ increase windows early version compatibility

    - use `CreateFileW` (usable in WinXP+) instead of `CreateFile2` (only usable in Win8+)
    rivy committed Aug 24, 2019
    Copy the full SHA
    9a972ed View commit details
    Browse the repository at this point in the history
  5. Copy the full SHA
    50e1a14 View commit details
    Browse the repository at this point in the history