8000 Rollup of 9 pull requests by Manishearth · Pull Request #48526 · rust-lang/rust · GitHub
[go: up one dir, main page]

Skip to content

Rollup of 9 pull requests #48526

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

Closed
wants to merge 59 commits into from
Closed
Show file tree
Hide file tree
Changes from 5 commits
Commits
Show all changes
59 commits
Select commit Hold shift + click to select a range
96e6103
core: Stabilize FusedIterator
bluss Jan 15, 2018
73f52d3
rustdoc: Foldable impl blocks
vi Jan 31, 2018
7cd0280
rustdoc: Fix tidy errors found by travis
vi Jan 31, 2018
c904b1b
rustdoc: Fix some minor issues per reviewer
vi Jan 31, 2018
0885865
rustdoc: Move collapse toggle to the left
vi Feb 1, 2018
a3acd10
rustdoc: Auto-collapse all non-inherent impls
vi Feb 1, 2018
28efcfc
rustdoc: Fix erroneous collapsing of second+ inherent impl.
vi Feb 1, 2018
7d296c4
Add Condvar APIs not susceptible to spurious wake
Feb 2, 2018
404e1a6
Fix typo
Feb 2, 2018
e72bd6d
Review response
Feb 2, 2018
95e4dc2
Simplify wait_timeout_until & fix condition typo
Feb 5, 2018
bc277b2
Revert "rustdoc: Move collapse toggle to the left"
vi Feb 6, 2018
71c4da8
rustdoc: Fix doc and impl collapsing on small screens
vi Feb 6, 2018
97df227
Fix wait_timeout value
Feb 13, 2018
f45a474
rustc_trans: add abi::CastTarget::ChunkedPrefix
jcowgill Feb 6, 2018
8000
6fe2d1d
Misc fixes
Feb 13, 2018
07033a4
change opt-level 2 to 3 in bootstrap rustflags
matthiaskrgr Feb 14, 2018
68042ba
rustc_trans: rewrite mips64 abi
jcowgill Feb 8, 2018
05d66dc
rustc_trans: add chunked prefix fields to CastTarget
jcowgill Feb 14, 2018
47c33f7
rustc_trans: adjust mips64 abi to use new CastTarget
jcowgill Feb 14, 2018
b1f04a3
Fix unit test compilation
Feb 15, 2018
d549db8
Fix tidy violation
Feb 17, 2018
6ad328c
Move macro-at-most-once-rep-ambig test to ui test
mark-i-m Feb 17, 2018
6442580
rustdoc: Remove visual overlap between § and [+]
vi Feb 17, 2018
3c83596
rustdoc: Fix position of collapse-toggle on small screens
vi Feb 17, 2018
d17d645
Add tests ensuring zero-Duration timeouts result in errors.
frewsxcv Feb 18, 2018
0755825
Return error if timeout is zero-Duration on Redox.
frewsxcv Feb 19, 2018
bf03dd0
rustdoc: Reposition the § per GuillaumeGomez request
vi Feb 19, 2018
98d8fc1
added rdrand feature and removed rdrnd feature
newpavlov Feb 20, 2018
4c6b9bc
features in alphabetic order
newpavlov Feb 20, 2018
df1b9a8
rustdoc: On mobile: hide §, adjust [+] position
vi Feb 20, 2018
14b403c
Fix doc compile error
Feb 20, 2018
a33c1da
typo fix
newpavlov Feb 21, 2018
a895d43
bootstrap: Add missing cputype matching for sparc
glaubitz Feb 17, 2018
871e82e
bootstrap: Add openssl configuration for sparc-unknown-linux-gnu
glaubitz Feb 17, 2018
100469f
librustc_back: Add support for sparc-linux-gnu
glaubitz Feb 17, 2018
84aae4e
Add sparc-unknown-linux-gnu target
glaubitz Feb 23, 2018
f4cd9ce
bootstrap: Add openssl configuration for powerpc-unknown-linux-gnuspe
glaubitz Feb 23, 2018
56549c4
librustc_back: Add support for powerpc-linux-gnuspe
glaubitz Feb 23, 2018
adeadc2
build-manifest: Add powerpc-unknown-linux-gnuspe target
glaubitz Feb 23, 2018
9bbacca
test: Run atomic-lock-free on powerpc-linux-gnuspe
glaubitz Feb 23, 2018
6f123ce
Support flag `-Z ui-testing` for tweaking diagnostic output for UI tests
petrochenkov Feb 23, 2018
b9b8f8d
Update UI tests
petrochenkov Feb 23, 2018
4fd765b
Implement opt-out from UI testing normalization
petrochenkov Feb 23, 2018
52d1193
Anonymize remaining line numbers at line starts
petrochenkov Feb 23, 2018
48f95ae
Update UI tests
petrochenkov Feb 24, 2018
cd7ce71
Fix rebase
petrochenkov Feb 24, 2018
1b03ac6
Rollup merge of #47894 - vi:rustdoc_foldable_impls, r=GuillaumeGomez,…
Manishearth Feb 25, 2018
c7564a7
Rollup merge of #47970 - vlovich:condvar_wait_until, r=dtolnay
Manishearth Feb 25, 2018
8b8a2fb
Rollup merge of #48204 - matthiaskrgr:RUSTFLAGS_O2_to_O3, r=kennytm
Manishearth Feb 25, 2018
52bd669
Rollup merge of #48302 - mark-i-m:markim_macro-test, r=aturon
Manishearth Feb 25, 2018
f2085e3
Rollup merge of #48330 - frewsxcv:frewsxcv-tests-zero-duration, r=sfa…
Manishearth Feb 25, 2018
657a643
Rollup merge of #48369 - newpavlov:rdrand, r=nagisa
Manishearth Feb 25, 2018
2b6cc53
Rollup merge of #48449 - petrochenkov:uidiff, r=nikomatsakis
Manishearth Feb 25, 2018
815ff51
Rollup merge of #48484 - glaubitz:powerpcspe-linux, r=alexcrichton
Manishearth Feb 25, 2018
071333d
Fixup Fused impl
Manishearth Feb 25, 2018
66aa98c
Rollup merge of #47964 - jcowgill:mips64-abi, r=eddyb
Manishearth Feb 25, 2018
6cbdca2
Rollup merge of #48297 - glaubitz:sparc-linux, r=estebank
Manishearth Feb 25, 2018
ee8fc49
Rollup merge of #47463 - bluss:fused-iterator, r=alexcrichton
Manishearth Feb 25, 2018
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions src/bootstrap/native.rs
Original file line number Diff line number Diff line change
Expand Up @@ -480,6 +480,7 @@ impl Step for Openssl {
"mips64el-unknown-linux-gnuabi64" => "linux64-mips64",
"mipsel-unknown-linux-gnu" => "linux-mips32",
"powerpc-unknown-linux-gnu" => "linux-ppc",
"powerpc-unknown-linux-gnuspe" => "linux-ppc",
"powerpc64-unknown-linux-gnu" => "linux-ppc64",
"powerpc64le-unknown-linux-gnu" => "linux-ppc64le",
"s390x-unknown-linux-gnu" => "linux64-s390x",
Expand Down
1 change: 1 addition & 0 deletions src/librustc_back/target/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,7 @@ supported_targets! {
("mips64el-unknown-linux-gnuabi64", mips64el_unknown_linux_gnuabi64),
("mipsel-unknown-linux-gnu", mipsel_unknown_linux_gnu),
("powerpc-unknown-linux-gnu", powerpc_unknown_linux_gnu),
("powerpc-unknown-linux-gnuspe", powerpc_unknown_linux_gnuspe),
("powerpc64-unknown-linux-gnu", powerpc64_unknown_linux_gnu),
("powerpc64le-unknown-linux-gnu", powerpc64le_unknown_linux_gnu),
("s390x-unknown-linux-gnu", s390x_unknown_linux_gnu),
Expand Down
35 changes: 35 additions & 0 deletions src/librustc_back/target/powerpc_unknown_linux_gnuspe.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
// Copyright 2018 The Rust Project Developers. See the COPYRIGHT
// file at the top-level directory of this distribution and at
// http://rust-lang.org/COPYRIGHT.
//
// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
// option. This file may not be copied, modified, or distributed
// except according to those terms.

use LinkerFlavor;
use target::{Target, TargetResult};

pub fn target() -> TargetResult {
let mut base = super::linux_base::opts();
base.pre_link_args.get_mut(&LinkerFlavor::Gcc).unwrap().push("-mspe".to_string());
base.max_atomic_width = Some(32);

// see #36994
base.exe_allocation_crate = None;

Ok(Target {
llvm_target: "powerpc-unknown-linux-gnuspe".to_string(),
target_endian: "big".to_string(),
target_pointer_width: "32".to_string(),
target_c_int_width: "32".to_string(),
data_layout: "E-m:e-p:32:32-i64:64-n32".to_string(),
arch: "powerpc".to_string(),
target_os: "linux".to_string(),
target_env: "gnu".to_string(),
target_vendor: "unknown".to_string(),
linker_flavor: LinkerFlavor::Gcc,
options: base,
})
}
2 changes: 2 additions & 0 deletions src/test/run-make/atomic-lock-free/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@ endif
ifeq ($(filter powerpc,$(LLVM_COMPONENTS)),powerpc)
$(RUSTC) --target=powerpc-unknown-linux-gnu atomic_lock_free.rs
nm "$(TMPDIR)/libatomic_lock_free.rlib" | $(CGREP) -v __atomic_fetch_add
$(RUSTC) --target=powerpc-unknown-linux-gnuspe atomic_lock_free.rs
nm "$(TMPDIR)/libatomic_lock_free.rlib" | $(CGREP) -v __atomic_fetch_add
$(RUSTC) --target=powerpc64-unknown-linux-gnu atomic_lock_free.rs
nm "$(TMPDIR)/libatomic_lock_free.rlib" | $(CGREP) -v __atomic_fetch_add
$(RUSTC) --target=powerpc64le-unknown-linux-gnu atomic_lock_free.rs
Expand Down
1 change: 1 addition & 0 deletions src/tools/build-manifest/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@ static TARGETS: &'static [&'static str] = &[
"mipsel-unknown-linux-gnu",
"mipsel-unknown-linux-musl",
"powerpc-unknown-linux-gnu",
"powerpc-unknown-linux-gnuspe",
"powerpc64-unknown-linux-gnu",
"powerpc64le-unknown-linux-gnu",
"s390x-unknown-linux-gnu",
Expand Down
0