Skip to content

Commit e91da82

Browse files
committed
---
yaml --- r: 150866 b: refs/heads/try2 c: fcdc36b h: refs/heads/master v: v3
1 parent 37bd748 commit e91da82

File tree

141 files changed

+1359
-3372
lines changed

Some content is hidden

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

141 files changed

+1359
-3372
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ refs/heads/snap-stage3: 78a7676898d9f80ab540c6df5d4c9ce35bb50463
55
refs/heads/try: 519addf6277dbafccbb4159db4b710c37eaa2ec5
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b
8-
refs/heads/try2: 787f4151e3ac32ffe455c2d3fd991def36be9758
8+
refs/heads/try2: fcdc36b1424928bfccee52b60d74f07577bc02fc
99
refs/heads/dist-snap: ba4081a5a8573875fed17545846f6f6902c8ba8d
1010
refs/tags/release-0.2: c870d2dffb391e14efb05aa27898f1f6333a9596
1111
refs/tags/release-0.3: b5f0d0f648d9a6153664837026ba1be43d3e2503

branches/try2/man/rustc.1

Lines changed: 8 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
.TH RUSTC "1" "March 2014" "rustc 0.11-pre" "User Commands"
22
.SH NAME
3-
rustc \- The Rust compiler
3+
rustc \- rust compiler
44
.SH SYNOPSIS
55
.B rustc
66
[\fIOPTIONS\fR] \fIINPUT\fR
@@ -27,23 +27,12 @@ Display this message
2727
\fB\-L\fR PATH
2828
Add a directory to the library search path
2929
.TP
30-
\fB\-\-ls\fR
31-
List the symbols defined by a library crate
32-
.TP
3330
\fB\-\-no\-trans\fR
3431
Run all passes except translation; no output
3532
.TP
36-
\fB\-\-no\-analysis\fR
37-
Parse and expand the source, but run no analysis and produce no output
38-
.TP
39-
\fB\-g\fR
33+
\fB\-g\fR, \fB\-\-debuginfo\fR
4034
Emit DWARF debug information into object files generated.
4135
.TP
42-
\fB\-\-debuginfo\fR LEVEL
43-
Emit DWARF debug info to the objects created: 0 = no debug info, 1 =
44-
line-tables only (for stacktraces and breakpoints), 2 = full debug
45-
info with variable and type information (same as -g).
46-
.TP
4736
\fB\-O\fR
4837
Equivalent to \fI\-\-opt\-level=2\fR
4938
.TP
@@ -66,10 +55,6 @@ Pretty-print the input instead of compiling; valid types are: normal
6655
expanded, with type annotations), or identified (fully parenthesized,
6756
AST nodes and blocks with IDs)
6857
.TP
69-
\fB\-\-dep-info\fR [FILENAME]
70-
Output dependency info to <filename> after compiling, in o format suitable
71-
for use by Makefiles.
72-
.TP
7358
\fB\-\-sysroot\fR PATH
7459
Override the system root
7560
.TP
@@ -163,14 +148,15 @@ level.
163148
Generates software floating point library calls instead of hardware
164149
instructions.
165150
.TP
151+
\fBgen-crate-map\fR
152+
Forces generate of a toplevel crate map. May be required for logging to work
153+
when rust is embedded into another application.
154+
.TP
166155
\fBprefer-dynamic\fR
167156
Prefers dynamic linking to static linking.
168157
.TP
169158
\fBno-integrated-as\fR
170159
Force usage of an external assembler rather than LLVM's integrated one.
171-
.TP
172-
\fBrelocation-model\fR=[pic,static,dynamic-no-pic]
173-
The relocation model to use. (default: pic)
174160

175161
.SH "EXAMPLES"
176162
To build an executable from a source file with a main function:
@@ -193,7 +179,8 @@ rustdoc
193179
See <\fBhttps://github.com/mozilla/rust/issues\fR> for issues.
194180

195181
.SH "AUTHOR"
196-
See \fBAUTHORS.txt\fR in the Rust source distribution.
182+
See \fBAUTHORS.txt\fR in the rust source distribution. Graydon Hoare
183+
<\fI[email protected]\fR> is the project leader.
197184

198185
.SH "COPYRIGHT"
199186
This work is dual-licensed under Apache 2.0 and MIT terms. See \fBCOPYRIGHT\fR

branches/try2/man/rustdoc.1

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,8 @@ rustc
9090
See <\fBhttps://github.com/mozilla/rust/issues\fR> for issues.
9191

9292
.SH "AUTHOR"
93-
See \fBAUTHORS.txt\fR in the Rust source distribution.
93+
See \fBAUTHORS.txt\fR in the rust source distribution. Graydon Hoare
94+
<\fI[email protected]\fR> is the project leader.
9495

9596
.SH "COPYRIGHT"
9697
This work is dual-licensed under Apache 2.0 and MIT terms. See \fBCOPYRIGHT\fR

branches/try2/mk/dist.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ PKG_EXE = dist/$(PKG_NAME)-install.exe
118118
%.ico: $(S)src/etc/pkg/%.ico
119119
cp $< $@
120120

121-
$(PKG_EXE): rust.iss modpath.iss upgrade.iss LICENSE.txt rust-logo.ico \
121+
$(PKG_EXE): rust.iss modpath.iss LICENSE.txt rust-logo.ico \
122122
$(CSREQ3_T_$(CFG_BUILD)_H_$(CFG_BUILD)) \
123123
dist-prepare-win
124124
$(CFG_PYTHON) $(S)src/etc/copy-runtime-deps.py tmp/dist/win/bin

branches/try2/mk/docs.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
# L10N_LANGS are the languages for which the docs have been
2727
# translated.
2828
######################################################################
29-
DOCS := index intro tutorial guide-ffi guide-macros guide-lifetimes \
29+
DOCS := index tutorial guide-ffi guide-macros guide-lifetimes \
3030
guide-tasks guide-container guide-pointers guide-testing \
3131
guide-runtime complement-bugreport complement-cheatsheet \
3232
complement-lang-faq complement-project-faq rust rustdoc \

branches/try2/mk/prepare.mk

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,13 @@
2020
# PREPARE_TARGETS - the target triples, space separated
2121
# PREPARE_DEST_DIR - the directory to put the image
2222

23+
24+
# On windows we install from stage3, but on unix only stage2
25+
ifdef CFG_WINDOWSY_$(CFG_BUILD)
26+
PREPARE_STAGE=3
27+
else
2328
PREPARE_STAGE=2
29+
endif
2430

2531
DEFAULT_PREPARE_DIR_CMD = umask 022 && mkdir -p
2632
DEFAULT_PREPARE_BIN_CMD = install -m755

branches/try2/src/doc/complement-lang-faq.md

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ Some examples that demonstrate different aspects of the language:
2727

2828
You may also be interested in browsing [GitHub's Rust][github-rust] page.
2929

30-
[github-rust]: https://github.com/trending?l=rust
30+
[github-rust]: https://github.com/languages/Rust
3131

3232
## Does it run on Windows?
3333

@@ -141,14 +141,8 @@ export RUST_LOG=hello
141141
./hello
142142
```
143143

144-
**Long answer** RUST_LOG takes a 'logging spec' that consists of a
145-
comma-separated list of paths, where a path consists of the crate name and
146-
sequence of module names, each separated by double-colons. For standalone .rs
147-
files the crate is implicitly named after the source file, so in the above
148-
example we were setting RUST_LOG to the name of the hello crate. Multiple paths
149-
can be combined to control the exact logging you want to see. For example, when
150-
debugging linking in the compiler you might set
151-
`RUST_LOG=rustc::metadata::creader,rustc::util::filesearch,rustc::back::rpath`
152-
For a full description see [the language reference][1].
144+
**Long answer** RUST_LOG takes a 'logging spec' that consists of a comma-separated list of paths, where a path consists of the crate name and sequence of module names, each separated by double-colons. For standalone .rs files the crate is implicitly named after the source file, so in the above example we were setting RUST_LOG to the name of the hello crate. Multiple paths can be combined to control the exact logging you want to see. For example, when debugging linking in the compiler you might set `RUST_LOG=rustc::metadata::creader,rustc::util::filesearch,rustc::back::rpath`
145+
146+
If you aren't sure which paths you need, try setting RUST_LOG to `::help` and running your program. This will print a list of paths available for logging. For a full description see [the language reference][1].
153147

154148
[1]:http://doc.rust-lang.org/doc/master/rust.html#logging-system

branches/try2/src/doc/guide-unsafe.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ use std::cast;
7070
let mut x: u8 = 1;
7171
7272
let ref_1: &mut u8 = &mut x;
73-
let ref_2: &mut u8 = unsafe { cast::transmute_mut_lifetime(ref_1) };
73+
let ref_2: &mut u8 = unsafe { cast::transmute_mut_region(ref_1) };
7474
7575
// oops, ref_1 and ref_2 point to the same piece of data (x) and are
7676
// both usable

branches/try2/src/doc/index.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
li {list-style-type: none; }
88
</style>
99

10-
* [A 30-minute Intro to Rust](intro.html)
1110
* [The Rust tutorial](tutorial.html) (* [PDF](tutorial.pdf))
1211
* [The Rust reference manual](rust.html) (* [PDF](rust.pdf))
1312

0 commit comments

Comments
 (0)