Skip to content

Commit

Permalink
Merge pull request #39668 from alexcrichton/stable-next
Browse files Browse the repository at this point in the history
[stable] More fixes for 1.15.1
  • Loading branch information
alexcrichton committed Feb 9, 2017
2 parents d11639b + 5a35f02 commit 021bd29
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
6 changes: 4 additions & 2 deletions RELEASES.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
Version 1.15.1 (2017-02-08)
Version 1.15.1 (2017-02-09)
===========================

* [Fix IntoIter::as_mut_slice's signature][39466]
* [Compile compiler builtins with `-fPIC` on 32-bit platforms][39523]

[39466]: https://github.com/rust-lang/rust/pull/39466
[39523]: https://github.com/rust-lang/rust/pull/39523


Version 1.15.0 (2017-02-02)
Expand Down Expand Up @@ -971,7 +973,7 @@ Tooling
* [Test binaries now support a `--test-threads` argument to specify the number
of threads used to run tests, and which acts the same as the
`RUST_TEST_THREADS` environment variable]
(https://github.com/rust-lang/rust/pull/35414)
(https://github.com/rust-lang/rust/pull/35414)
* [The test runner now emits a warning when tests run over 60 seconds]
(https://github.com/rust-lang/rust/pull/35405)
* [rustdoc: Fix methods in search results]
Expand Down
5 changes: 5 additions & 0 deletions src/bootstrap/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -812,6 +812,11 @@ impl Build {
},
_ => {},
}

if !target.contains("windows") && target.contains("i686") {
base.push("-fPIC".into());
}

return base
}

Expand Down

0 comments on commit 021bd29

Please sign in to comment.