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

Rollup of 27 pull requests #44621

Closed
wants to merge 66 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
66 commits
Select commit Hold shift + click to select a range
e15a07a
Remove Borrow bound from SliceExt::binary_search
circuitfox Aug 18, 2017
758a0ce
alloc: Implement downcast Rc<Any> -> Rc<T>
bluss Sep 2, 2017
c22db3d
IP address convenience constructors
jcdyer Sep 7, 2017
ad170f2
Close doc examples and trim whitespace.
jcdyer Sep 7, 2017
8b6122f
Add feature gate to doctests.
jcdyer Sep 8, 2017
4f24507
implement unsafe pointer methods
Gankra Aug 17, 2017
a095ee4
Add class for codeblocks
GuillaumeGomez Sep 6, 2017
9c12e5d
add test
GuillaumeGomez Sep 7, 2017
79f888d
Add arrow and improve display
GuillaumeGomez Sep 9, 2017
81ebab6
bump gcc for bootstrap
QuietMisdreavus Sep 12, 2017
5cad391
rustc: Spawn `cmd /c emcc.bat` explicitly
alexcrichton Sep 13, 2017
d3bbce7
bring TyCtxt into scope
qmx Sep 8, 2017
d3c2386
extend E0623 for earlybound and latebound for structs
gaurikholkar Sep 13, 2017
f8df89a
adding ui tests
gaurikholkar Sep 13, 2017
696a268
fix depth for structs
gaurikholkar Sep 14, 2017
39c9a3d
Attempt to fix the component manifest problem for rls-preview
nrc Sep 5, 2017
9240454
add ui tests for EBR
gaurikholkar Sep 14, 2017
06478d1
rustdoc: pretty-print Unevaluated expressions in types.
eddyb Sep 14, 2017
5229443
Delete fn.rs
gaurikholkar Sep 14, 2017
4253a41
Trim and document compiler-builtins shim
tamird Sep 12, 2017
509982c
Trim and document libc shim
tamird Sep 12, 2017
ddd321d
travis: Move sccache to the us-west-1 region
alexcrichton Sep 14, 2017
61a7703
Customize `<FlatMap as Iterator>::fold`
cuviper Sep 14, 2017
2bde694
bring TyCtxt into scope
qmx Sep 15, 2017
9d5b0e1
Add unstable attributes for Ipv?Addr constructors.
jcdyer Sep 15, 2017
3fe4612
bring Ty into scope
qmx Sep 15, 2017
a7817dd
rustc: Preallocate when building the dep graph
alexcrichton Sep 15, 2017
07494ec
Require +thumb-mode to generate thumb2 code for Android/armv7-a
makotokato Sep 15, 2017
1b571a0
Get `allow(unused_mut)` to work on `let` bindings
oli-obk Sep 15, 2017
5398e03
stabilized ord_max_min (fixes #25663)
budziq Sep 15, 2017
2819122
Update cargo submodule
alexcrichton Sep 15, 2017
9a01dc4
update rust-installer
RalfJung Sep 15, 2017
8772227
stabilized iterator_for_each (closes #42986)
budziq Sep 15, 2017
61e255a
rustbuild: Compile the error-index in stage 2
alexcrichton Sep 15, 2017
6fdadaa
rustbuild: Update `cmake` dependency
alexcrichton Sep 15, 2017
3a39d95
alloc: Add tracking issue for rc_downcast
bluss Sep 15, 2017
351f56a
Add a specific test for `FlatMap::fold`
cuviper Sep 15, 2017
f7e974e
HashMap::new and HashSet::new do not allocate
jonhoo Sep 15, 2017
97fee3e
travis: Disable LLVM assertions on OSX
alexcrichton Sep 15, 2017
3da54fb
rustbuild: Fix test "test rustdoc" invocation
alexcrichton Sep 15, 2017
eed781e
Rollup merge of #43964 - Gankro:unsafe-reform, r=sfackler
alexcrichton Sep 16, 2017
7cee082
Rollup merge of #43989 - circuitfox:sliceext-binary-search-sig, r=ale…
alexcrichton Sep 16, 2017
b0e07c6
Rollup merge of #44273 - bluss:rc-downcast, r=alexcrichton
alexcrichton Sep 16, 2017
fb954ba
Rollup merge of #44356 - nrc:rls-component-manifest, r=@alexcrichton
alexcrichton Sep 16, 2017
900707e
Rollup merge of #44395 - jcdyer:ip-constructors, r=alexcrichton
alexcrichton Sep 16, 2017
5153913
Rollup merge of #44397 - GuillaumeGomez:codeblock-color, r=QuietMisdr…
alexcrichton Sep 16, 2017
91dc1d9
Rollup merge of #44515 - tamird:clean-shims, r=alexcrichton
alexcrichton Sep 16, 2017
2024210
Rollup merge of #44531 - QuietMisdreavus:bump-gcc, r=alexcrichton
alexcrichton Sep 16, 2017
218e677
Rollup merge of #44542 - alexcrichton:fix-windows-emscripten, r=nikom…
alexcrichton Sep 16, 2017
d2d8fc2
Rollup merge of #44549 - gaurikholkar:master, r=arielb1
alexcrichton Sep 16, 2017
ed3f09c
Rollup merge of #44560 - qmx:import-TyCtxt, r=eddyb
alexcrichton Sep 16, 2017
3752ec2
Rollup merge of #44562 - eddyb:ugh-rustdoc, r=nikomatsakis
alexcrichton Sep 16, 2017
9da941f
Rollup merge of #44567 - budziq:stabilize_iterator_for_each, r=alexcr…
alexcrichton Sep 16, 2017
bad12bc
Rollup merge of #44574 - alexcrichton:new-sccache-region, r=aidanhs
alexcrichton Sep 16, 2017
a9bdccb
Rollup merge of #44577 - cuviper:flat_map-fold, r=alexcrichton
alexcrichton Sep 16, 2017
8e2af65
Rollup merge of #44586 - alexcrichton:smaller-query, r=michaelwoerister
alexcrichton Sep 16, 2017
be9d5c9
Rollup merge of #44589 - makotokato:thumb2, r=alexcrichton
alexcrichton Sep 16, 2017
c1ca1c0
Rollup merge of #44590 - oli-obk:allow_unused_mut_on_vars, r=eddyb
alexcrichton Sep 16, 2017
adc0961
Rollup merge of #44593 - budziq:stabilize_ord_max_min, r=alexcrichton
alexcrichton Sep 16, 2017
eaf13ba
Rollup merge of #44598 - RalfJung:installer, r=alexcrichton
alexcrichton Sep 16, 2017
1881668
Rollup merge of #44604 - alexcrichton:update-cargo, r=Mark-Simulacrum
alexcrichton Sep 16, 2017
e46d967
Rollup merge of #44605 - alexcrichton:less-rustdoc, r=Mark-Simulacrum
alexcrichton Sep 16, 2017
7e456aa
Rollup merge of #44606 - alexcrichton:update-cmake, r=Mark-Simulacrum
alexcrichton Sep 16, 2017
29a8a73
Rollup merge of #44609 - jonhoo:hash-alloc, r=steveklabnik
alexcrichton Sep 16, 2017
9730a36
Rollup merge of #44610 - alexcrichton:osx-no-assertions, r=Mark-Simul…
alexcrichton Sep 16, 2017
fc6e763
Rollup merge of #44616 - alexcrichton:rustdoc-fix-again-whee, r=Mark-…
alexcrichton Sep 16, 2017
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
8 changes: 7 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ matrix:
RUSTC_RETRY_LINKER_ON_SEGFAULT=1
SCCACHE_ERROR_LOG=/tmp/sccache.log
MACOSX_DEPLOYMENT_TARGET=10.7
NO_LLVM_ASSERTIONS=1
os: osx
osx_image: xcode7

Expand All @@ -46,6 +47,7 @@ matrix:
SCCACHE_ERROR_LOG=/tmp/sccache.log
MACOSX_DEPLOYMENT_TARGET=10.8
MACOSX_STD_DEPLOYMENT_TARGET=10.7
NO_LLVM_ASSERTIONS=1
os: osx
osx_image: xcode8.2
- env: >
Expand All @@ -56,6 +58,7 @@ matrix:
SCCACHE_ERROR_LOG=/tmp/sccache.log
MACOSX_DEPLOYMENT_TARGET=10.8
MACOSX_STD_DEPLOYMENT_TARGET=10.7
NO_LLVM_ASSERTIONS=1
os: osx
osx_image: xcode8.2

Expand All @@ -73,6 +76,7 @@ matrix:
RUSTC_RETRY_LINKER_ON_SEGFAULT=1
SCCACHE_ERROR_LOG=/tmp/sccache.log
MACOSX_DEPLOYMENT_TARGET=10.7
NO_LLVM_ASSERTIONS=1
os: osx
osx_image: xcode7
- env: >
Expand All @@ -83,6 +87,7 @@ matrix:
RUSTC_RETRY_LINKER_ON_SEGFAULT=1
SCCACHE_ERROR_LOG=/tmp/sccache.log
MACOSX_DEPLOYMENT_TARGET=10.7
NO_LLVM_ASSERTIONS=1
os: osx
osx_image: xcode7

Expand Down Expand Up @@ -124,7 +129,8 @@ matrix:

env:
global:
- SCCACHE_BUCKET=rust-lang-ci-sccache
- SCCACHE_BUCKET=rust-lang-ci-sccache2
- SCCACHE_REGION=us-west-1
- AWS_ACCESS_KEY_ID=AKIAJAMV3QAMMA6AXHFQ
# AWS_SECRET_ACCESS_KEY=...
- secure: "j96XxTVOSUf4s4r4htIxn/fvIa5DWbMgLqWl7r8z2QfgUwscmkMXAwXuFNc7s7bGTpV/+CgDiMFFM6BAFLGKutytIF6oA02s9b+usQYnM0th7YQ2AIgm9GtMTJCJp4AoyfFmh8F2faUICBZlfVLUJ34udHEe35vOklix+0k4WDo="
Expand Down
3 changes: 2 additions & 1 deletion appveyor.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
environment:
SCCACHE_BUCKET: rust-lang-ci-sccache
SCCACHE_BUCKET: rust-lang-ci-sccache2
SCCACHE_REGION: us-west-1
AWS_ACCESS_KEY_ID: AKIAJAMV3QAMMA6AXHFQ
AWS_SECRET_ACCESS_KEY:
secure: 7Y+JiquYedOAgnUU26uL0DPzrxmTtR+qIwG6rNKSuWDffqU3vVZxbGXim9QpTO80
Expand Down
8 changes: 0 additions & 8 deletions fn.rs

This file was deleted.

60 changes: 30 additions & 30 deletions src/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/bootstrap/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ cmake = "0.1.23"
filetime = "0.1"
num_cpus = "1.0"
getopts = "0.2"
gcc = "0.3.50"
gcc = "0.3.54"
libc = "0.2"
serde = "1.0.8"
serde_derive = "1.0.8"
Expand Down
9 changes: 5 additions & 4 deletions src/bootstrap/check.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1118,10 +1118,11 @@ impl Step for Rustdoc {
let compiler = builder.compiler(builder.top_stage, self.host);
let target = compiler.host;

builder.ensure(RemoteCopyLibs { compiler, target });

let mut cargo = builder.cargo(compiler, Mode::Librustc, target, test_kind.subcommand());
compile::rustc_cargo(build, &compiler, target, &mut cargo);
let mut cargo = tool::prepare_tool_cargo(builder,
compiler,
target,
test_kind.subcommand(),
"src/tools/rustdoc");
let _folder = build.fold_output(|| {
format!("{}_stage{}-rustdoc", test_kind.subcommand(), compiler.stage)
});
Expand Down
17 changes: 13 additions & 4 deletions src/bootstrap/dist.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1098,8 +1098,14 @@ impl Step for Rls {
.arg("--output-dir").arg(&distdir(build))
.arg("--non-installed-overlay").arg(&overlay)
.arg(format!("--package-name={}-{}", name, target))
.arg("--component-name=rls")
.arg("--legacy-manifest-dirs=rustlib,cargo");

if build.config.channel == "nightly" {
cmd.arg("--component-name=rls");
} else {
cmd.arg("--component-name=rls-preview");
}

build.run(&mut cmd);
distdir(build).join(format!("{}-{}.tar.gz", name, target))
}
Expand Down Expand Up @@ -1302,9 +1308,12 @@ impl Step for Extended {
cp_r(&work.join(&format!("{}-{}", pkgname(build, "rust-std"), target))
.join(format!("rust-std-{}", target)),
&exe.join("rust-std"));
cp_r(&work.join(&format!("{}-{}", pkgname(build, "rls"), target))
.join("rls"),
&exe.join("rls"));
let rls_path = if build.config.channel == "nightly" {
work.join(&format!("{}-{}", pkgname(build, "rls"), target)).join("rls")
} else {
work.join(&format!("{}-{}", pkgname(build, "rls"), target)).join("rls-preview")
};
cp_r(&rls_path, &exe.join("rls"));
cp_r(&work.join(&format!("{}-{}", pkgname(build, "rust-analysis"), target))
.join(format!("rust-analysis-{}", target)),
&exe.join("rust-analysis"));
Expand Down
Loading