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 13 pull requests #48776

Closed
wants to merge 38 commits into from
Closed
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
38 commits
Select commit Hold shift + click to select a range
238bb38
First version
pvdrz Feb 22, 2018
f9e049a
add info about sync
pvdrz Feb 23, 2018
58d1f83
remove redundant info
pvdrz Feb 23, 2018
43de01f
cleaned trailing whitespaces
pvdrz Feb 23, 2018
5344b07
Add new warning for CStr::from_ptr
GuillaumeGomez Feb 24, 2018
ce3ad26
added link to sync containers
pvdrz Feb 24, 2018
7ded7f7
corrected grammar errors
pvdrz Feb 24, 2018
397ce8a
fixed links
pvdrz Feb 25, 2018
9091584
some grammar corrections
pvdrz Feb 26, 2018
df8dd3f
doc: no need for the references
tshepang Feb 28, 2018
e822e62
Suggest type for overflowing bin/hex-literals
flip1995 Feb 22, 2018
19c4771
Implementing requested changes
flip1995 Feb 22, 2018
5c70619
Rewrite error reporting as requested
flip1995 Feb 24, 2018
f45f760
Adapt stderr of UI test to PR #48449
flip1995 Mar 1, 2018
f7693c0
Fix spelling s/casted/cast/
lukaslueg Feb 21, 2018
15ecf06
Remove isize test
flip1995 Mar 2, 2018
fc33b25
Improve getting literal representation
flip1995 Mar 3, 2018
04da856
Update sccache to its master branch
alexcrichton Mar 1, 2018
0b0e1b7
Refactor contrived match.
leoyvens Mar 4, 2018
1c191b2
Add note for unterminated raw string error
GuillaumeGomez Feb 26, 2018
16ac85c
Remove useless powerpc64 entry from ARCH_TABLE, closes #47737
debris Mar 4, 2018
88f32d1
Remove a couple of `isize` references from hashmap docs
tbu- Mar 5, 2018
2e7e68b
while let all the things
leoyvens Mar 5, 2018
831009f
Add resource-suffix option for rustdoc
GuillaumeGomez Feb 24, 2018
2ec47e0
Remove seemingly unused sugarise-doc-comments Python script.
frewsxcv Mar 6, 2018
a3201a9
Rollup merge of #48403 - lukaslueg:casted, r=steveklabnik
GuillaumeGomez Mar 6, 2018
8c07934
Rollup merge of #48432 - flip1995:lit_diag, r=oli-obk
GuillaumeGomez Mar 6, 2018
4b69bd7
Rollup merge of #48474 - christianpoveda:new_cell_docs, r=steveklabnik
GuillaumeGomez Mar 6, 2018
75bc23d
Rollup merge of #48507 - GuillaumeGomez:cstr-note, r=steveklabnik
GuillaumeGomez Mar 6, 2018
afb617a
Rollup merge of #48511 - GuillaumeGomez:rustdoc-resource-suffix, r=Qu…
GuillaumeGomez Mar 6, 2018
90b38d5
Rollup merge of #48546 - GuillaumeGomez:raw-string-error-note, r=este…
GuillaumeGomez Mar 6, 2018
11b3e72
Rollup merge of #48590 - tshepang:more-simple, r=frewsxcv
GuillaumeGomez Mar 6, 2018
ae76ad0
Rollup merge of #48647 - alexcrichton:update-sccache, r=kennytm
GuillaumeGomez Mar 6, 2018
13a9300
Rollup merge of #48727 - leodasvacas:refactor-contrived-match, r=rkruppe
GuillaumeGomez Mar 6, 2018
64cb871
Rollup merge of #48732 - debris:remove_powerpc64, r=alexcrichton
GuillaumeGomez Mar 6, 2018
c66b57a
Rollup merge of #48753 - tbu-:pr_hashmap_isize, r=BurntSushi
GuillaumeGomez Mar 6, 2018
7a548f5
Rollup merge of #48754 - leodasvacas:while-let-all-the-things, r=rkruppe
GuillaumeGomez Mar 6, 2018
b768548
Rollup merge of #48761 - frewsxcv:frewsxcv-rm-python, r=alexcrichton
GuillaumeGomez Mar 6, 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
Prev Previous commit
Next Next commit
Update sccache to its master branch
Ideally I'd like to soon enable sccache for rustbuild itself and some of the
stage0 tools, but for that to work we'll need some better Rust support than the
pretty old version we were previously using!
  • Loading branch information
alexcrichton committed Mar 4, 2018
commit 04da856c8464e9ed25645f8ef4426a322c168c2e
13 changes: 1 addition & 12 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ matrix:
SRC=.
DEPLOY_ALT=1
RUSTC_RETRY_LINKER_ON_SEGFAULT=1
SCCACHE_ERROR_LOG=/tmp/sccache.log
MACOSX_DEPLOYMENT_TARGET=10.7
NO_LLVM_ASSERTIONS=1
NO_DEBUG_ASSERTIONS=1
Expand All @@ -50,7 +49,6 @@ matrix:
RUST_CONFIGURE_ARGS="--build=x86_64-apple-darwin --enable-sanitizers --enable-profiler"
SRC=.
RUSTC_RETRY_LINKER_ON_SEGFAULT=1
SCCACHE_ERROR_LOG=/tmp/sccache.log
MACOSX_DEPLOYMENT_TARGET=10.8
MACOSX_STD_DEPLOYMENT_TARGET=10.7
NO_LLVM_ASSERTIONS=1
Expand All @@ -64,7 +62,6 @@ matrix:
RUST_CONFIGURE_ARGS=--build=i686-apple-darwin
SRC=.
RUSTC_RETRY_LINKER_ON_SEGFAULT=1
SCCACHE_ERROR_LOG=/tmp/sccache.log
MACOSX_DEPLOYMENT_TARGET=10.8
MACOSX_STD_DEPLOYMENT_TARGET=10.7
NO_LLVM_ASSERTIONS=1
Expand All @@ -85,7 +82,6 @@ matrix:
SRC=.
DEPLOY=1
RUSTC_RETRY_LINKER_ON_SEGFAULT=1
SCCACHE_ERROR_LOG=/tmp/sccache.log
MACOSX_DEPLOYMENT_TARGET=10.7
NO_LLVM_ASSERTIONS=1
NO_DEBUG_ASSERTIONS=1
Expand All @@ -99,7 +95,6 @@ matrix:
SRC=.
DEPLOY=1
RUSTC_RETRY_LINKER_ON_SEGFAULT=1
SCCACHE_ERROR_LOG=/tmp/sccache.log
MACOSX_DEPLOYMENT_TARGET=10.7
NO_LLVM_ASSERTIONS=1
NO_DEBUG_ASSERTIONS=1
Expand Down Expand Up @@ -223,7 +218,7 @@ install:
travis_retry brew update &&
travis_retry brew install xz;
fi &&
travis_retry curl -fo /usr/local/bin/sccache https://s3-us-west-1.amazonaws.com/rust-lang-ci2/rust-ci-mirror/2017-05-12-sccache-x86_64-apple-darwin &&
travis_retry curl -fo /usr/local/bin/sccache https://s3-us-west-1.amazonaws.com/rust-lang-ci2/rust-ci-mirror/2018-03-01-sccache-x86_64-apple-darwin &&
chmod +x /usr/local/bin/sccache &&
travis_retry curl -fo /usr/local/bin/stamp https://s3-us-west-1.amazonaws.com/rust-lang-ci2/rust-ci-mirror/2017-03-17-stamp-x86_64-apple-darwin &&
chmod +x /usr/local/bin/stamp
Expand Down Expand Up @@ -264,12 +259,6 @@ after_failure:
df -h;
du . | sort -nr | head -n100

# One of these is the linux sccache log, one is the OSX sccache log. Instead
# of worrying about what system we are just cat both. One of these commands
# will fail but that's ok, they'll both get executed.
- cat obj/tmp/sccache.log
- cat /tmp/sccache.log

# Random attempt at debugging currently. Just poking around in here to see if
# anything shows up.
- ls -lat $HOME/Library/Logs/DiagnosticReports/
Expand Down
10 changes: 2 additions & 8 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -148,8 +148,8 @@ install:
- set PATH=C:\Python27;%PATH%

# Download and install sccache
- appveyor-retry appveyor DownloadFile https://s3-us-west-1.amazonaws.com/rust-lang-ci2/rust-ci-mirror/2017-05-12-sccache-x86_64-pc-windows-msvc
- mv 2017-05-12-sccache-x86_64-pc-windows-msvc sccache.exe
- appveyor-retry appveyor DownloadFile https://s3-us-west-1.amazonaws.com/rust-lang-ci2/rust-ci-mirror/2018-03-01-sccache-x86_64-pc-windows-msvc
- mv 2018-03-01-sccache-x86_64-pc-windows-msvc sccache.exe
- set PATH=%PATH%;%CD%

# Download and install ninja
Expand All @@ -172,19 +172,13 @@ install:
- set PATH=%PATH%;%CD%\handle
- handle.exe -accepteula -help

# Attempt to debug sccache failures
- set SCCACHE_ERROR_LOG=%CD%/sccache.log

test_script:
- if not exist C:\cache\rustsrc\NUL mkdir C:\cache\rustsrc
- sh src/ci/init_repo.sh . /c/cache/rustsrc
- set SRC=.
- set NO_CCACHE=1
- sh src/ci/run.sh

on_failure:
- cat %CD%\sccache.log || exit 0

branches:
only:
- auto
Expand Down
2 changes: 0 additions & 2 deletions src/ci/docker/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,6 @@ if [ "$SCCACHE_BUCKET" != "" ]; then
args="$args --env SCCACHE_REGION"
args="$args --env AWS_ACCESS_KEY_ID"
args="$args --env AWS_SECRET_ACCESS_KEY"
args="$args --env SCCACHE_ERROR_LOG=/tmp/sccache/sccache.log"
args="$args --volume $objdir/tmp:/tmp/sccache"
else
mkdir -p $HOME/.cache/sccache
args="$args --env SCCACHE_DIR=/sccache --volume $HOME/.cache/sccache:/sccache"
Expand Down
2 changes: 1 addition & 1 deletion src/ci/docker/scripts/sccache.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,6 @@
set -ex

curl -fo /usr/local/bin/sccache \
https://s3-us-west-1.amazonaws.com/rust-lang-ci2/rust-ci-mirror/2017-05-12-sccache-x86_64-unknown-linux-musl
https://s3-us-west-1.amazonaws.com/rust-lang-ci2/rust-ci-mirror/2018-03-01-sccache-x86_64-unknown-linux-musl

chmod +x /usr/local/bin/sccache