Skip to content

Commit 32f42c7

Browse files
author
Lenny222
committed
---
yaml --- r: 7010 b: refs/heads/master c: d07c6e8 h: refs/heads/master v: v3
1 parent 61e6396 commit 32f42c7

File tree

114 files changed

+1124
-2785
lines changed

Some content is hidden

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

114 files changed

+1124
-2785
lines changed

[refs]

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
---
2-
refs/heads/master: 4e88d5ae92af1ebfb1d23e027db7133c669cca69
2+
refs/heads/master: d07c6e8a0ede3114ebfd8c3ea6cc161cf009f072

trunk/AUTHORS.txt

-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@ 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]>
3029
Kelly Wilson <[email protected]>
3130
Lennart Kudling
3231
Lindsey Kuper <[email protected]>

trunk/configure

+1-1
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 | amd64)
215+
x86_64 | x86-64 | x64)
216216
CFG_CPUTYPE=x86_64
217217
;;
218218

trunk/doc/rust.texi

+294-217
Large diffs are not rendered by default.

trunk/doc/tutorial/args.md

+1-1
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

+8-22
Original file line numberDiff line numberDiff line change
@@ -29,34 +29,24 @@ 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 -Rf $(DOCS)
33-
$(Q)rm -Rf $(GENERATED)
32+
$(Q)rm -f $(GENERATED)
3433
$(Q)rm -f rustllvm/$(CFG_RUSTLLVM) rustllvm/rustllvmbits.a
3534
$(Q)rm -f rt/$(CFG_RUNTIME)
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)
35+
$(Q)find rt -name '*.o' -delete
36+
$(Q)find rt -name '*.a' -delete
4237
$(Q)rm -f test/run_pass_stage2.rc test/run_pass_stage2_driver.rs
4338
$(Q)rm -Rf $(PKG_NAME)-*.tar.gz dist
39+
$(Q)rm -f $(foreach ext,o a d bc s exe,$(wildcard stage*/*.$(ext)))
4440
$(Q)rm -Rf $(foreach ext,out out.tmp \
4541
stage0$(X) stage1$(X) stage2$(X) \
46-
bc o s so dll exe dSYM, \
42+
bc o s exe dSYM, \
4743
$(wildcard test/*.$(ext) \
4844
test/*/*.$(ext) \
4945
test/bench/*/*.$(ext)))
5046
$(Q)rm -Rf $(foreach 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
47+
aux cp fn ky log pdf html pg toc tp vr cps, \
48+
$(wildcard doc/*.$(ext)))
5749
$(Q)rm -Rf doc/version.texi
58-
$(Q)rm -Rf $(foreach sub, index styles files search javascript, \
59-
$(wildcard doc/*/$(sub)))
6050
$(Q)rm -rf libuv
6151

6252
define CLEAN_HOST_STAGE_N
@@ -65,7 +55,6 @@ clean$(1)_H_$(2):
6555
$(Q)rm -f $$(HBIN$(1)_H_$(2))/rustc$(X)
6656
$(Q)rm -f $$(HBIN$(1)_H_$(2))/fuzzer$(X)
6757
$(Q)rm -f $$(HBIN$(1)_H_$(2))/cargo$(X)
68-
$(Q)rm -f $$(HBIN$(1)_H_$(2))/rustdoc$(X)
6958
$(Q)rm -f $$(HLIB$(1)_H_$(2))/$(CFG_RUNTIME)
7059
$(Q)rm -f $$(HLIB$(1)_H_$(2))/$(CFG_CORELIB)
7160
$(Q)rm -f $$(HLIB$(1)_H_$(2))/$(CFG_STDLIB)
@@ -87,8 +76,6 @@ define CLEAN_TARGET_STAGE_N
8776
clean$(1)_T_$(2)_H_$(3):
8877
$(Q)rm -f $$(TBIN$(1)_T_$(2)_H_$(3))/rustc$(X)
8978
$(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)
9279
$(Q)rm -f $$(TLIB$(1)_T_$(2)_H_$(3))/$(CFG_RUNTIME)
9380
$(Q)rm -f $$(TLIB$(1)_T_$(2)_H_$(3))/$(CFG_CORELIB)
9481
$(Q)rm -f $$(TLIB$(1)_T_$(2)_H_$(3))/$(CFG_STDLIB)
@@ -99,8 +86,7 @@ clean$(1)_T_$(2)_H_$(3):
9986
$(Q)rm -f $$(TLIB$(1)_T_$(2)_H_$(3))/$(CFG_RUSTLLVM)
10087
$(Q)rm -f $$(TLIB$(1)_T_$(2)_H_$(3))/libstd.rlib
10188
$(Q)rm -f $$(TLIB$(1)_T_$(2)_H_$(3))/intrinsics.bc
102-
$(Q)rm -f $$(TLIB$(1)_T_$(2)_H_$(3))/intrinsics.ll
103-
$(Q)rm -f $$(TLIB$(1)_T_$(2)_H_$(3))/libmorestack.a
89+
10490
endef
10591

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

trunk/mk/docs.mk

+2-11
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
# Doc variables and rules
33
######################################################################
44

5+
docs: $(DOCS)
6+
57
doc/keywords.texi: $(S)doc/keywords.txt $(S)src/etc/gen-keywords-table.py
68
@$(call E, gen-keywords-table: $@)
79
$(Q)$(S)src/etc/gen-keywords-table.py
@@ -12,8 +14,6 @@ doc/version.texi: $(MKFILE_DEPS) rust.texi
1214
$(Q)echo "$(CFG_VERSION)" >>$@
1315
$(Q)echo "@end macro" >>$@
1416

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,16 +47,7 @@ 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-
5750
endef
5851

5952
$(eval $(call libdoc,core,$(CORELIB_CRATE) $(CORELIB_INPUTS)))
6053
$(eval $(call libdoc,std,$(STDLIB_CRATE) $(STDLIB_INPUTS)))
61-
62-
docs: $(DOCS)

trunk/mk/install.mk

+1-1
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: all install-host install-targets
55+
install: install-host install-targets
5656

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

0 commit comments

Comments
 (0)