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

Get cargo working on i686-pc-windows-msvc #1825

Merged
merged 9 commits into from
Jul 23, 2015
Merged

Commits on Jul 22, 2015

  1. Use the download module for printing snapshots

    The script that prints new snapshots for Cargo now uses the same download module
    as the rest of Cargo. Also adds a quiet option to suppress printing.
    alexcrichton committed Jul 22, 2015
    Configuration menu
    Copy the full SHA
    71b522c View commit details
    Browse the repository at this point in the history

Commits on Jul 23, 2015

  1. etc: Use Popen instead of call to spawn processes

    I saw the usage of `call` locking up quite a bit when running this script on
    Windows, and googling around on the internet seems to indicate that Popen should
    be used instead of call to prevent this locking up, and it does indeed work!
    alexcrichton committed Jul 23, 2015
    Configuration menu
    Copy the full SHA
    819af01 View commit details
    Browse the repository at this point in the history
  2. etc: Fix merging distributions on Windows

    The rustlib folder is in `bin` on Windows, not in `lib`.
    alexcrichton committed Jul 23, 2015
    Configuration menu
    Copy the full SHA
    8e9d5b5 View commit details
    Browse the repository at this point in the history
  3. etc: Don't modify the installation manifest

    We're not actually using it as we're not running the installation script, so no
    need to modify it.
    alexcrichton committed Jul 23, 2015
    Configuration menu
    Copy the full SHA
    43046ec View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    67f2a9d View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    c814d85 View commit details
    Browse the repository at this point in the history
  6. Remove MSVC logic from the configure script

    Cargo will soon support testing the cross compilation capabilities between 32/64
    bit Windows, meaning that there's not "one true value" for any of these
    environment variables that Cargo is setting (e.g. where to find `cl`, `link`,
    etc). Instead, all dependencies have been updated to probe the system (in the
    same manner as the compiler) for the tools that they're using.
    
    All of the logic is housed in the `gcc` crate which now exposes a function to
    probe the system for a particular tool. The updated crates here then use the
    result of this probe to run the various build scripts. This all boils down to
    being able to build MSVC targets inside an MSYS shell instead of requiring use
    of a MSVC shell (which doesn't allow for simultaneous host builds and cross
    builds).
    alexcrichton committed Jul 23, 2015
    Configuration menu
    Copy the full SHA
    a24ca99 View commit details
    Browse the repository at this point in the history
  7. Test 32/64 cross builds on MSVC

    This commit enables Cargo's bots to test cross builds between 32 and 64 bit
    hosts. Many tests were fixed to work on Windows, and the 32-bit test case now
    actually crosses to 64.
    alexcrichton committed Jul 23, 2015
    Configuration menu
    Copy the full SHA
    07cacbf View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    655bcdf View commit details
    Browse the repository at this point in the history