Skip to content

Commit 021bd29

Browse files
authored
Merge pull request #39668 from alexcrichton/stable-next
[stable] More fixes for 1.15.1
2 parents d11639b + 5a35f02 commit 021bd29

File tree

2 files changed

+9
-2
lines changed

2 files changed

+9
-2
lines changed

RELEASES.md

+4-2
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
1-
Version 1.15.1 (2017-02-08)
1+
Version 1.15.1 (2017-02-09)
22
===========================
33

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

67
[39466]: https://github.com/rust-lang/rust/pull/39466
8+
[39523]: https://github.com/rust-lang/rust/pull/39523
79

810

911
Version 1.15.0 (2017-02-02)
@@ -971,7 +973,7 @@ Tooling
971973
* [Test binaries now support a `--test-threads` argument to specify the number
972974
of threads used to run tests, and which acts the same as the
973975
`RUST_TEST_THREADS` environment variable]
974-
(https://github.com/rust-lang/rust/pull/35414)
976+
(https://github.com/rust-lang/rust/pull/35414)
975977
* [The test runner now emits a warning when tests run over 60 seconds]
976978
(https://github.com/rust-lang/rust/pull/35405)
977979
* [rustdoc: Fix methods in search results]

src/bootstrap/lib.rs

+5
Original file line numberDiff line numberDiff line change
@@ -812,6 +812,11 @@ impl Build {
812812
},
813813
_ => {},
814814
}
815+
816+
if !target.contains("windows") && target.contains("i686") {
817+
base.push("-fPIC".into());
818+
}
819+
815820
return base
816821
}
817822

0 commit comments

Comments
 (0)