Skip to content

Rollup of 9 pull requests #41115

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 28 commits into from
Closed
Show file tree
Hide file tree
Changes from 2 commits
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
3fb1a84
Add a common Build::src_is_git flag
cuviper Apr 3, 2017
e9cfc30
Only use cargo-vendor if building from git sources
cuviper Apr 3, 2017
4d32ff4
Loosen src_is_git to just check exists()
cuviper Apr 3, 2017
aab2cca
On-demandify reachability
cramertj Mar 27, 2017
b970bc2
Enable appveyor cache, add more paranoia
aidanhs Apr 4, 2017
608e8fe
dist-powerpc-linux: use a pure 32-bit CPU profile
cuviper Apr 5, 2017
631f761
travis: Update musl for i686/x86_64
alexcrichton Apr 5, 2017
f37ca60
First attempt at global_asm! macro
mrhota Mar 16, 2017
df0f15a
Expand _ into explicit variants in match
mrhota Mar 17, 2017
ec680c1
Add new TransItem for global_asm trans
mrhota Mar 21, 2017
9301d16
Remove unused str_style field
mrhota Mar 24, 2017
2d77fe7
Ensure walk_item visits GlobalAsm NodeId
mrhota Mar 30, 2017
8bd182b
Expose LLVM appendModuleInlineAsm
mrhota Mar 22, 2017
b67c1a6
Update unstable book with global_asm feature
mrhota Mar 21, 2017
10cbcd3
Add global_asm tests
mrhota Mar 22, 2017
57bd395
Replace ExpnId with SyntaxContext
mrhota Apr 6, 2017
95bd41e
don't try to blame tuple fields for immutability
arielb1 Apr 6, 2017
b4be475
Fix Markdown issues in the docs
ollie27 Apr 6, 2017
1f93a78
.gitmodules: use the official Git URL w/o redirect
nodakai Apr 6, 2017
99b81e5
Rollup merge of #40702 - mrhota:global_asm, r=nagisa
frewsxcv Apr 6, 2017
d25a6d8
Rollup merge of #40873 - cramertj:on-demandify-queries, r=nikomatsakis
frewsxcv Apr 6, 2017
96ba480
Rollup merge of #41047 - cuviper:src_is_git, r=alexcrichton
frewsxcv Apr 6, 2017
ab29327
Rollup merge of #41075 - aidanhs:aphs-enable-appveyor-cache, r=alexcr…
frewsxcv Apr 6, 2017
88585d7
Rollup merge of #41080 - cuviper:generic-powerpc, r=alexcrichton
frewsxcv Apr 6, 2017
ca047cb
Rollup merge of #41089 - alexcrichton:update-musl, r=brson
frewsxcv Apr 6, 2017
7320e84
Rollup merge of #41108 - arielb1:tuple-blame, r=estebank
frewsxcv Apr 6, 2017
7bc4577
Rollup merge of #41111 - ollie27:docs_markdown_fix, r=GuillaumeGomez
frewsxcv Apr 6, 2017
709f614
Rollup merge of #41114 - nodakai:patch-2, r=petrochenkov
frewsxcv Apr 6, 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
7 changes: 5 additions & 2 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -141,15 +141,18 @@ install:
- set SCCACHE_ERROR_LOG=%CD%/sccache.log

test_script:
- appveyor-retry sh -c 'git submodule deinit -f . && git submodule update --init'
- 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
- cat %CD%\sccache.log
- cat C:\Users\appveyor\AppData\Local\Temp\1\build-cache-logs\*.log

cache:
- C:\cache\rustsrc
- "build/i686-pc-windows-msvc/llvm -> src/rustllvm/llvm-rebuild-trigger"
- "build/x86_64-pc-windows-msvc/llvm -> src/rustllvm/llvm-rebuild-trigger"
- "i686-pc-windows-msvc/llvm -> src/rustllvm/llvm-rebuild-trigger"
Expand Down
15 changes: 13 additions & 2 deletions src/ci/init_repo.sh
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,20 @@ fi

# Wipe the cache if it's not valid, or mark it as invalid while we update it
if [ ! -f "$cache_valid_file" ]; then
rm -rf "$CACHE_DIR" && mkdir "$CACHE_DIR"
rm -rf "$CACHE_DIR"
mkdir "$CACHE_DIR"
else
rm "$cache_valid_file"
stat_lines=$(cd "$cache_src_dir" && git status --porcelain | wc -l)
stat_ec=$(cd "$cache_src_dir" && git status >/dev/null 2>&1 && echo $?)
if [ ! -d "$cache_src_dir/.git" -o $stat_lines != 0 -o $stat_ec != 0 ]; then
# Something is badly wrong - the cache valid file is here, but something
# about the git repo is fishy. Nuke it all, just in case
echo "WARNING: $cache_valid_file exists but bad repo: l:$stat_lines, ec:$stat_ec"
rm -rf "$CACHE_DIR"
mkdir "$CACHE_DIR"
else
rm "$cache_valid_file"
fi
fi

# Update the cache (a pristine copy of the rust source master)
Expand Down