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

Conversation

Projects
None yet
3 participants
@alexcrichton
Copy link
Member

alexcrichton commented Dec 2, 2016

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

This comment has been minimized.

@alexcrichton

alexcrichton Dec 2, 2016

Author Member

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

This comment has been minimized.

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

This comment has been minimized.

Copy link
Contributor

brson commented Dec 11, 2016

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

@brson

This comment has been minimized.

Copy link
Contributor

brson commented Dec 11, 2016

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

@alexcrichton alexcrichton force-pushed the alexcrichton:libcmt branch from bd4594c to 43a4219 Dec 12, 2016

@alexcrichton

This comment has been minimized.

Copy link
Member Author

alexcrichton commented Dec 12, 2016

Ok, updated the PR

@alexcrichton alexcrichton force-pushed the alexcrichton:libcmt branch 2 times, most recently from e32fd94 to 274c182 Dec 13, 2016

@brson

This comment has been minimized.

Copy link
Contributor

brson commented Dec 15, 2016

openssl-sys still not working right

@alexcrichton alexcrichton force-pushed the alexcrichton:libcmt branch from 274c182 to 39b93fd Dec 15, 2016

Statically linked the MSVC CRT
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 alexcrichton force-pushed the alexcrichton:libcmt branch from 39b93fd to 146f230 Dec 15, 2016

@alexcrichton

This comment has been minimized.

Copy link
Member Author

alexcrichton commented Dec 15, 2016

Pushed some updates, let's see how it goes

@brson brson merged commit cfda772 into rust-lang:master Dec 16, 2016

2 checks passed

continuous-integration/appveyor/pr AppVeyor build succeeded
Details
continuous-integration/travis-ci/pr The Travis CI build passed
Details

@bors bors referenced this pull request Dec 16, 2016

Closed

Upgrade build toolchain #859

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.