Skip to content

Commit 1cd4858

Browse files
committed
---
yaml --- r: 159543 b: refs/heads/auto c: 7ea23e5 h: refs/heads/master i: 159541: c9f39cf 159539: 804cf71 159535: 355f528 v: v3
1 parent 3a99d79 commit 1cd4858

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

54 files changed

+956
-425
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ refs/tags/release-0.3: b5f0d0f648d9a6153664837026ba1be43d3e2503
1010
refs/tags/release-0.3.1: 495bae036dfe5ec6ceafd3312b4dca48741e845b
1111
refs/tags/release-0.4: e828ea2080499553b97dfe33b3f4d472b4562ad7
1212
refs/tags/release-0.5: 7e3bcfbf21278251ee936ad53e92e9b719702d73
13-
refs/heads/auto: cd17ba4c1236af71594291646b586b1bc0b415d9
13+
refs/heads/auto: 7ea23e562743510b54bf310ffa5b7ce4367bf3a3
1414
refs/heads/servo: af82457af293e2a842ba6b7759b70288da276167
1515
refs/tags/release-0.6: b4ebcfa1812664df5e142f0134a5faea3918544c
1616
refs/tags/0.1: b19db808c2793fe2976759b85a355c3ad8c8b336

branches/auto/mk/dist.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ $(PKG_EXE): rust.iss modpath.iss upgrade.iss LICENSE.txt rust-logo.ico \
125125
dist-prepare-win
126126
$(CFG_PYTHON) $(S)src/etc/make-win-dist.py tmp/dist/win $(CFG_BUILD)
127127
@$(call E, ISCC: $@)
128-
$(Q)"$(CFG_ISCC)" $<
128+
$(Q)$(CFG_ISCC) $<
129129

130130
$(eval $(call DEF_PREPARE,win))
131131

branches/auto/mk/main.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ CFG_GIT_DIR := $(CFG_SRC_DIR).git
5252
# so we use a hack: define $(SPACE) which contains space character.
5353
SPACE :=
5454
SPACE +=
55-
ifneq ($(wildcard $(subst $(SPACE),\$(SPACE),$(CFG_GIT))),)
55+
ifneq ($(CFG_GIT),)
5656
ifneq ($(wildcard $(subst $(SPACE),\$(SPACE),$(CFG_GIT_DIR))),)
5757
CFG_VER_DATE = $(shell git --git-dir='$(CFG_GIT_DIR)' log -1 --pretty=format:'%ci')
5858
CFG_VER_HASH = $(shell git --git-dir='$(CFG_GIT_DIR)' rev-parse HEAD)

branches/auto/src/doc/guide.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5274,7 +5274,7 @@ let result = task::try(proc() {
52745274

52755275
This task will randomly panic or succeed. `task::try` returns a `Result`
52765276
type, so we can handle the response like any other computation that may
5277-
panic.
5277+
fail.
52785278

52795279
# Macros
52805280

branches/auto/src/etc/emacs/rust-mode.el

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@
176176
"false" "fn" "for"
177177
"if" "impl" "in"
178178
"let" "loop"
179-
"match" "mod" "mut"
179+
"match" "mod" "move" "mut"
180180
"priv" "proc" "pub"
181181
"ref" "return"
182182
"self" "static" "struct" "super"

branches/auto/src/etc/kate/rust.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@
3434
<item> loop </item>
3535
<item> match </item>
3636
<item> mod </item>
37+
<item> move </item>
3738
<item> mut </item>
3839
<item> priv </item>
3940
<item> pub </item>

branches/auto/src/etc/make-win-dist.py

Lines changed: 45 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ def find_files(files, path):
2323
return found
2424

2525
def make_win_dist(dist_root, target_triple):
26-
# Ask gcc where it keeps its' stuff
26+
# Ask gcc where it keeps its stuff
2727
gcc_out = subprocess.check_output(["gcc.exe", "-print-search-dirs"])
2828
bin_path = os.environ["PATH"].split(os.pathsep)
2929
lib_path = []
@@ -42,11 +42,48 @@ def make_win_dist(dist_root, target_triple):
4242
else:
4343
rustc_dlls.append("libgcc_s_seh-1.dll")
4444

45-
target_libs = ["crtbegin.o", "crtend.o", "crt2.o", "dllcrt2.o",
46-
"libadvapi32.a", "libcrypt32.a", "libgcc.a", "libgcc_eh.a", "libgcc_s.a",
47-
"libimagehlp.a", "libiphlpapi.a", "libkernel32.a", "libm.a", "libmingw32.a",
48-
"libmingwex.a", "libmsvcrt.a", "libpsapi.a", "libshell32.a", "libstdc++.a",
49-
"libuser32.a", "libws2_32.a", "libiconv.a", "libmoldname.a"]
45+
target_libs = [ # MinGW libs
46+
"crtbegin.o",
47+
"crtend.o",
48+
"crt2.o",
49+
"dllcrt2.o",
50+
"libgcc.a",
51+
"libgcc_eh.a",
52+
"libgcc_s.a",
53+
"libm.a",
54+
"libmingw32.a",
55+
"libmingwex.a",
56+
"libstdc++.a",
57+
"libiconv.a",
58+
"libmoldname.a",
59+
# Windows import libs
60+
"libadvapi32.a",
61+
"libbcrypt.a",
62+
"libcomctl32.a",
63+
"libcomdlg32.a",
64+
"libcrypt32.a",
65+
"libctl3d32.a",
66+
"libgdi32.a",
67+
"libimagehlp.a",
68+
"libiphlpapi.a",
69+
"libkernel32.a",
70+
"libmsvcrt.a",
71+
"libodbc32.a",
72+
"libole32.a",
73+
"liboleaut32.a",
74+
"libopengl32.a",
75+
"libpsapi.a",
76+
"librpcrt4.a",
77+
"libsetupapi.a",
78+
"libshell32.a",
79+
"libuser32.a",
80+
"libuuid.a",
81+
"libwinhttp.a",
82+
"libwinmm.a",
83+
"libwinspool.a",
84+
"libws2_32.a",
85+
"libwsock32.a",
86+
]
5087

5188
# Find mingw artifacts we want to bundle
5289
target_tools = find_files(target_tools, bin_path)
@@ -59,14 +96,14 @@ def make_win_dist(dist_root, target_triple):
5996
shutil.copy(src, dist_bin_dir)
6097

6198
# Copy platform tools to platform-specific bin directory
62-
target_bin_dir = os.path.join(dist_root, "bin", "rustlib", target_triple, "gcc", "bin")
99+
target_bin_dir = os.path.join(dist_root, "bin", "rustlib", target_triple, "bin")
63100
if not os.path.exists(target_bin_dir):
64101
os.makedirs(target_bin_dir)
65102
for src in target_tools:
66103
shutil.copy(src, target_bin_dir)
67104

68105
# Copy platform libs to platform-spcific lib directory
69-
target_lib_dir = os.path.join(dist_root, "bin", "rustlib", target_triple, "gcc", "lib")
106+
target_lib_dir = os.path.join(dist_root, "bin", "rustlib", target_triple, "lib")
70107
if not os.path.exists(target_lib_dir):
71108
os.makedirs(target_lib_dir)
72109
for src in target_libs:

branches/auto/src/etc/vim/syntax/rust.vim

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,14 +23,14 @@ syn keyword rustKeyword box nextgroup=rustBoxPlacement skipwhite skipempty
2323
syn keyword rustKeyword continue
2424
syn keyword rustKeyword extern nextgroup=rustExternCrate,rustObsoleteExternMod skipwhite skipempty
2525
syn keyword rustKeyword fn nextgroup=rustFuncName skipwhite skipempty
26-
syn keyword rustKeyword for in if impl let move
26+
syn keyword rustKeyword for in if impl let
2727
syn keyword rustKeyword loop once proc pub
2828
syn keyword rustKeyword return super
2929
syn keyword rustKeyword unsafe virtual where while
3030
syn keyword rustKeyword use nextgroup=rustModPath skipwhite skipempty
3131
" FIXME: Scoped impl's name is also fallen in this category
3232
syn keyword rustKeyword mod trait struct enum type nextgroup=rustIdentifier skipwhite skipempty
33-
syn keyword rustStorage mut ref static const
33+
syn keyword rustStorage move mut ref static const
3434

3535
syn keyword rustInvalidBareKeyword crate
3636

branches/auto/src/libcollections/enum_set.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -486,7 +486,7 @@ mod test {
486486
unsafe { mem::transmute(v) }
487487
}
488488
}
489-
let mut set = EnumSet::empty();
490-
set.add(V64);
489+
let mut set = EnumSet::new();
490+
set.insert(V64);
491491
}
492492
}

0 commit comments

Comments
 (0)