Skip to content

Commit cabff80

Browse files
committed
---
yaml --- r: 7012 b: refs/heads/master c: 513a263 h: refs/heads/master v: v3
1 parent 4f4afaa commit cabff80

Some content is hidden

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

110 files changed

+2769
-1052
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
---
2-
refs/heads/master: ab2a643f278d09c3fcc140ecb4c7cecbf1aff3c4
2+
refs/heads/master: 513a263e81eff098762e1531bc4d13366da0e554

trunk/AUTHORS.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ Jeffrey Yasskin <[email protected]>
2626
Jesse Ruderman <[email protected]>
2727
Josh Matthews <[email protected]>
2828
Joshua Wise <[email protected]>
29+
Jyun-Yan You <[email protected]>
2930
Kelly Wilson <[email protected]>
3031
Lennart Kudling
3132
Lindsey Kuper <[email protected]>

trunk/configure

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@ case $CFG_CPUTYPE in
212212
CFG_CPUTYPE=arm
213213
;;
214214

215-
x86_64 | x86-64 | x64)
215+
x86_64 | x86-64 | x64 | amd64)
216216
CFG_CPUTYPE=x86_64
217217
;;
218218

trunk/doc/rust.texi

Lines changed: 217 additions & 294 deletions
Large diffs are not rendered by default.

trunk/doc/tutorial/args.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ de-initialized on the caller side, and give ownership of it to the
105105
called function. This is written `-`.
106106

107107
Finally, the default passing styles (by-value for non-structural
108-
types, by-reference for structural ones) are written `+` for by-value
108+
types, by-reference for structural ones) are written `++` for by-value
109109
and `&&` for by(-immutable)-reference. It is sometimes necessary to
110110
override the defaults. We'll talk more about this when discussing
111111
[generics][gens].

trunk/mk/clean.mk

Lines changed: 22 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -29,24 +29,34 @@ clean-misc:
2929
$(Q)rm -f $(ML_DEPFILES:%.d=%.d.tmp)
3030
$(Q)rm -f $(C_DEPFILES:%.d=%.d.tmp)
3131
$(Q)rm -f $(CRATE_DEPFILES:%.d=%.d.tmp)
32-
$(Q)rm -f $(GENERATED)
32+
$(Q)rm -Rf $(DOCS)
33+
$(Q)rm -Rf $(GENERATED)
3334
$(Q)rm -f rustllvm/$(CFG_RUSTLLVM) rustllvm/rustllvmbits.a
3435
$(Q)rm -f rt/$(CFG_RUNTIME)
35-
$(Q)find rt -name '*.o' -delete
36-
$(Q)find rt -name '*.a' -delete
36+
$(Q)find rustllvm llvm rt -name '*.[odasS]' -delete
37+
$(Q)find rustllvm llvm rt -name '*.so' -delete
38+
$(Q)find rustllvm llvm rt -name '*.dylib' -delete
39+
$(Q)find rustllvm llvm rt -name '*.dll' -delete
40+
$(Q)find rustllvm rt -name '*.def' -delete
41+
$(Q)rm -Rf $(wildcard rt/*/libuv/Default)
3742
$(Q)rm -f test/run_pass_stage2.rc test/run_pass_stage2_driver.rs
3843
$(Q)rm -Rf $(PKG_NAME)-*.tar.gz dist
39-
$(Q)rm -f $(foreach ext,o a d bc s exe,$(wildcard stage*/*.$(ext)))
4044
$(Q)rm -Rf $(foreach ext,out out.tmp \
4145
stage0$(X) stage1$(X) stage2$(X) \
42-
bc o s exe dSYM, \
46+
bc o s so dll exe dSYM, \
4347
$(wildcard test/*.$(ext) \
4448
test/*/*.$(ext) \
4549
test/bench/*/*.$(ext)))
4650
$(Q)rm -Rf $(foreach ext, \
47-
aux cp fn ky log pdf html pg toc tp vr cps, \
48-
$(wildcard doc/*.$(ext)))
51+
css html js \
52+
aux cp fn ky log pdf pg toc tp vr cps, \
53+
$(wildcard doc/*.$(ext) \
54+
doc/*/*.$(ext) \
55+
doc/*/*/*.$(ext)))
56+
$(Q)rm -Rf doc/keywords.texi
4957
$(Q)rm -Rf doc/version.texi
58+
$(Q)rm -Rf $(foreach sub, index styles files search javascript, \
59+
$(wildcard doc/*/$(sub)))
5060
$(Q)rm -rf libuv
5161

5262
define CLEAN_HOST_STAGE_N
@@ -55,6 +65,7 @@ clean$(1)_H_$(2):
5565
$(Q)rm -f $$(HBIN$(1)_H_$(2))/rustc$(X)
5666
$(Q)rm -f $$(HBIN$(1)_H_$(2))/fuzzer$(X)
5767
$(Q)rm -f $$(HBIN$(1)_H_$(2))/cargo$(X)
68+
$(Q)rm -f $$(HBIN$(1)_H_$(2))/rustdoc$(X)
5869
$(Q)rm -f $$(HLIB$(1)_H_$(2))/$(CFG_RUNTIME)
5970
$(Q)rm -f $$(HLIB$(1)_H_$(2))/$(CFG_CORELIB)
6071
$(Q)rm -f $$(HLIB$(1)_H_$(2))/$(CFG_STDLIB)
@@ -76,6 +87,8 @@ define CLEAN_TARGET_STAGE_N
7687
clean$(1)_T_$(2)_H_$(3):
7788
$(Q)rm -f $$(TBIN$(1)_T_$(2)_H_$(3))/rustc$(X)
7889
$(Q)rm -f $$(TBIN$(1)_T_$(2)_H_$(3))/fuzzer$(X)
90+
$(Q)rm -f $$(TBIN$(1)_T_$(2)_H_$(3))/cargo$(X)
91+
$(Q)rm -f $$(TBIN$(1)_T_$(2)_H_$(3))/rustdoc$(X)
7992
$(Q)rm -f $$(TLIB$(1)_T_$(2)_H_$(3))/$(CFG_RUNTIME)
8093
$(Q)rm -f $$(TLIB$(1)_T_$(2)_H_$(3))/$(CFG_CORELIB)
8194
$(Q)rm -f $$(TLIB$(1)_T_$(2)_H_$(3))/$(CFG_STDLIB)
@@ -86,7 +99,8 @@ clean$(1)_T_$(2)_H_$(3):
8699
$(Q)rm -f $$(TLIB$(1)_T_$(2)_H_$(3))/$(CFG_RUSTLLVM)
87100
$(Q)rm -f $$(TLIB$(1)_T_$(2)_H_$(3))/libstd.rlib
88101
$(Q)rm -f $$(TLIB$(1)_T_$(2)_H_$(3))/intrinsics.bc
89-
102+
$(Q)rm -f $$(TLIB$(1)_T_$(2)_H_$(3))/intrinsics.ll
103+
$(Q)rm -f $$(TLIB$(1)_T_$(2)_H_$(3))/libmorestack.a
90104
endef
91105

92106
$(foreach host, $(CFG_TARGET_TRIPLES), \

trunk/mk/docs.mk

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22
# Doc variables and rules
33
######################################################################
44

5-
docs: $(DOCS)
6-
75
doc/keywords.texi: $(S)doc/keywords.txt $(S)src/etc/gen-keywords-table.py
86
@$(call E, gen-keywords-table: $@)
97
$(Q)$(S)src/etc/gen-keywords-table.py
@@ -14,6 +12,8 @@ doc/version.texi: $(MKFILE_DEPS) rust.texi
1412
$(Q)echo "$(CFG_VERSION)" >>$@
1513
$(Q)echo "@end macro" >>$@
1614

15+
GENERATED += doc/keywords.texi doc/version.texi
16+
1717
doc/%.pdf: %.texi doc/version.texi doc/keywords.texi
1818
@$(call E, texi2pdf: $@)
1919
@# LC_COLLATE=C works around a bug in texi2dvi; see
@@ -47,7 +47,16 @@ nd/$(1)/lib.css: $(S)doc/lib.css
4747
@$$(call E, cp: $$@)
4848
$(Q)cp $$< $$@
4949

50+
GENERATED += nd/$(1)/Languages.txt \
51+
nd/$(1)/Topics.txt \
52+
nd/$(1)/Menu.txt \
53+
nd/$(1)/Data
54+
55+
DOCS += doc/$(1)/index.html nd/$(1)/lib.css
56+
5057
endef
5158

5259
$(eval $(call libdoc,core,$(CORELIB_CRATE) $(CORELIB_INPUTS)))
5360
$(eval $(call libdoc,std,$(STDLIB_CRATE) $(STDLIB_INPUTS)))
61+
62+
docs: $(DOCS)

trunk/mk/install.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ $(foreach target,$(CFG_TARGET_TRIPLES), \
5252
INSTALL_TARGET_RULES = $(foreach target,$(CFG_TARGET_TRIPLES), \
5353
install-target-$(target)-host-$(CFG_HOST_TRIPLE))
5454

55-
install: install-host install-targets
55+
install: all install-host install-targets
5656

5757
# Shorthand for build/stageN/bin
5858
HB = $(HBIN$(ISTAGE)_H_$(CFG_HOST_TRIPLE))

0 commit comments

Comments
 (0)