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

Statically linked the MSVC CRT #843

Merged
merged 1 commit into from
Dec 16, 2016
Merged

Conversation

alexcrichton
Copy link
Member

This PR updates a few dependencies for support with -C target-feature=+crt-static and then updates CI to produce those relevant
binaries on Windows. This should produce binaries that don't require the MSVC
redistributables and instead work standalone.

matrix:
- TARGET: i686-pc-windows-msvc
BUILD_MSI: 1
- TARGET: i686-pc-windows-gnu
MINGW_URL: https://sourceforge.net/projects/mingw-w64/files/Toolchains%20targetting%20Win32/Personal%20Builds/mingw-builds/4.9.2/threads-win32/dwarf/i686-4.9.2-release-win32-dwarf-rt_v4-rev4.7z/download
MINGW_URL: https://s3.amazonaws.com/rust-lang-ci
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This was a bit of an unrelated cleanup, I switched to the url that we're using for Rust and a few other projects, and AWS is generally much more reliable than sourceforge

@bors
Copy link
Contributor

bors commented Dec 11, 2016

☔ The latest upstream changes (presumably #847) made this pull request unmergeable. Please resolve the merge conflicts.

@brson
Copy link
Contributor

brson commented Dec 11, 2016

This has some conflicts with the openssl-sys dep used by rustup's download crate.

@brson
Copy link
Contributor

brson commented Dec 11, 2016

I may spend some time cleaning up the download crate soon to unblock this.

@alexcrichton
Copy link
Member Author

Ok, updated the PR

@brson
Copy link
Contributor

brson commented Dec 15, 2016

openssl-sys still not working right

This PR updates a few dependencies for support with `-C
target-feature=+crt-static` and then updates CI to produce those relevant
binaries on Windows. This should produce binaries that don't require the MSVC
redistributables and instead work standalone.
@alexcrichton
Copy link
Member Author

Pushed some updates, let's see how it goes

@brson brson merged commit cfda772 into rust-lang:master Dec 16, 2016
@bors bors mentioned this pull request Dec 16, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants