Skip to content

Commit 164e970

Browse files
committed
---
yaml --- r: 127485 b: refs/heads/master c: 4d27b48 h: refs/heads/master i: 127483: 8ef15ce v: v3
1 parent 2cb4382 commit 164e970

File tree

1,325 files changed

+59078
-43089
lines changed

Some content is hidden

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

1,325 files changed

+59078
-43089
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
refs/heads/master: 14e245bd47d3ac1a981d50a6f752aa27cca7d85e
2+
refs/heads/master: 4d27b4875e16ed6a4a0c9697432f1152b727e84a
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: 12e0f72f517516ac4fce2aed85e6142e9b874bce
55
refs/heads/try: e9a2d9f337a45a2ddcd854d1039bbc9f907de41a

trunk/.gitattributes

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,4 @@ src/etc/pkg/rust-logo.ico binary
88
src/etc/pkg/rust-logo.png binary
99
src/rt/msvc/* -whitespace
1010
src/rt/valgrind/* -whitespace
11+
*.woff binary

trunk/.gitignore

Lines changed: 69 additions & 65 deletions
Original file line numberDiff line numberDiff line change
@@ -1,90 +1,94 @@
1-
*~
2-
\#*\#
3-
\#*
4-
.#*
5-
*.x86
6-
*.llvm
7-
*.out
1+
*.a
2+
*.aux
3+
*.bc
84
*.boot
9-
*.rustc
5+
*.bz2
6+
*.cmi
7+
*.cmo
108
*.cmx
11-
*.dll
9+
*.cp
10+
*.cps
11+
*.d
12+
*.dSYM
1213
*.def
13-
*.exe
14-
*.a
15-
*.rlib
16-
*.so
14+
*.diff
15+
*.dll
1716
*.dylib
18-
*.orig
19-
*.cmo
20-
*.cmi
21-
*.dSYM
22-
*.d
23-
*.o
24-
*.ll
25-
*.bc
26-
*.aux
27-
*.cp
17+
*.elc
18+
*.epub
19+
*.exe
2820
*.fn
21+
*.html
2922
*.ky
30-
*.cps
23+
*.ll
24+
*.llvm
3125
*.log
26+
*.o
27+
*.orig
28+
*.out
29+
*.patch
3230
*.pdf
33-
*.epub
34-
*.html
3531
*.pg
36-
*.toc
37-
*.tp
38-
*.vr
39-
*.patch
40-
*.diff
32+
*.pot
33+
*.pyc
4134
*.rej
42-
*.swp
35+
*.rlib
36+
*.rustc
37+
*.so
4338
*.swo
39+
*.swp
4440
*.tmp
45-
*.pyc
46-
*.elc
41+
*.toc
42+
*.tp
43+
*.vr
44+
*.x86
45+
*~
46+
.#*
47+
.DS_Store
48+
.cproject
4749
.hg/
4850
.hgignore
49-
.cproject
5051
.project
52+
.settings/
5153
.valgrindrc
52-
lexer.ml
53-
TAGS
54-
TAGS.emacs
55-
TAGS.vi
56-
version.ml
57-
version.texi
54+
/*-*-*-*/
55+
/*-*-*/
5856
/Makefile
59-
config.mk
60-
/rt/
61-
/rustllvm/
62-
/test/
57+
/build
58+
/dist/
59+
/dl/
60+
/doc
6361
/inst/
62+
/llvm/
6463
/mingw-build/
65-
src/.DS_Store
66-
/tmp/
67-
/dist/
64+
/nd/
65+
/rt/
66+
/rustllvm/
67+
/src/libunicode/DerivedCoreProperties.txt
68+
/src/libunicode/EastAsianWidth.txt
69+
/src/libunicode/HangulSyllableType.txt
70+
/src/libunicode/PropList.txt
71+
/src/libunicode/Scripts.txt
72+
/src/libunicode/UnicodeData.txt
6873
/stage0/
69-
/dl/
7074
/stage1/
7175
/stage2/
7276
/stage3/
73-
*.bz2
74-
/doc
75-
/nd/
76-
/llvm/
77-
version.md
78-
keywords.md
79-
x86_64-apple-darwin/
80-
x86_64-unknown-linux-gnu/
81-
i686-unknown-linux-gnu/
82-
tmp.*.rs
77+
/test/
78+
/tmp/
79+
TAGS
80+
TAGS.emacs
81+
TAGS.vi
82+
\#*
83+
\#*\#
84+
config.mk
8385
config.stamp
84-
.DS_Store
86+
keywords.md
87+
lexer.ml
88+
src/.DS_Store
8589
src/etc/dl
86-
.settings/
87-
/build
88-
i686-pc-mingw32/
89-
src/librustc/lib/llvmdeps.rs
90-
*.pot
90+
src/librustc_llvm/llvmdeps.rs
91+
tmp.*.rs
92+
version.md
93+
version.ml
94+
version.texi

trunk/CONTRIBUTING.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@ please do two things:
1616

1717
2. Run the full Rust test suite with the `make check` command. You're
1818
not off the hook even if you just stick to documentation; code
19-
examples in the docs are tested as well!
19+
examples in the docs are tested as well! Although for simple
20+
wording or grammar fixes, this is probably unnecessary.
2021

2122
Pull requests will be treated as "review requests", and we will give
2223
feedback we expect to see corrected on

trunk/Makefile.in

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -216,6 +216,7 @@ ifneq ($(strip $(findstring check,$(MAKECMDGOALS)) \
216216
$(findstring tidy,$(MAKECMDGOALS))),)
217217
CFG_INFO := $(info cfg: including test rules)
218218
include $(CFG_SRC_DIR)mk/tests.mk
219+
include $(CFG_SRC_DIR)mk/grammar.mk
219220
endif
220221

221222
# Performance and benchmarking

trunk/RELEASES.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -306,7 +306,7 @@ Version 0.9 (January 2014)
306306
* A new facility for enabling experimental features (feature gating) has
307307
been added, using the crate-level `#[feature(foo)]` attribute.
308308
* Managed boxes (@) are now behind a feature gate
309-
(`#[feature(managed_boxes)]`) in preperation for future removal. Use the
309+
(`#[feature(managed_boxes)]`) in preparation for future removal. Use the
310310
standard library's `Gc` or `Rc` types instead.
311311
* `@mut` has been removed. Use `std::cell::{Cell, RefCell}` instead.
312312
* Jumping back to the top of a loop is now done with `continue` instead of
@@ -398,7 +398,7 @@ Version 0.9 (January 2014)
398398
* std: `fmt::Default` can be implemented for any type to provide default
399399
formatting to the `format!` macro, as in `format!("{}", myfoo)`.
400400
* std: The `rand` API continues to be tweaked.
401-
* std: The `rust_begin_unwind` function, useful for insterting breakpoints
401+
* std: The `rust_begin_unwind` function, useful for inserting breakpoints
402402
on failure in gdb, is now named `rust_fail`.
403403
* std: The `each_key` and `each_value` methods on `HashMap` have been
404404
replaced by the `keys` and `values` iterators.
@@ -429,7 +429,7 @@ Version 0.9 (January 2014)
429429
extensible interfaces and is now implemented by two different crates:
430430
libnative, for native threading and I/O; and libgreen, for green threading
431431
and I/O. This paves the way for using the standard library in more limited
432-
embeded environments.
432+
embedded environments.
433433
* std: The `comm` module has been rewritten to be much faster, have a
434434
simpler, more consistent API, and to work for both native and green
435435
threading.

trunk/configure

Lines changed: 22 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -291,6 +291,10 @@ case $CFG_OSTYPE in
291291
CFG_OSTYPE=unknown-freebsd
292292
;;
293293

294+
DragonFly)
295+
CFG_OSTYPE=unknown-dragonfly
296+
;;
297+
294298
Darwin)
295299
CFG_OSTYPE=apple-darwin
296300
;;
@@ -418,10 +422,12 @@ opt ccache 0 "invoke gcc/clang via ccache to reuse object files between builds"
418422
opt local-rust 0 "use an installed rustc rather than downloading a snapshot"
419423
opt inject-std-version 1 "inject the current compiler version of libstd into programs"
420424
opt llvm-static-stdcpp 0 "statically link to libstdc++ for LLVM"
421-
opt rpath 1 "build rpaths into rustc itself"
425+
opt rpath 0 "build rpaths into rustc itself"
422426
opt nightly 0 "build nightly packages"
423427
opt verify-install 1 "verify installed binaries work"
424428
opt jemalloc 1 "build liballoc with jemalloc"
429+
# This is used by the automation to produce single-target nightlies
430+
opt dist-host-only 0 "only install bins for the host architecture"
425431
valopt prefix "/usr/local" "set installation prefix"
426432
valopt local-rust-root "/usr/local" "set prefix for local rust binary"
427433
valopt llvm-root "" "set LLVM root"
@@ -493,6 +499,9 @@ probe CFG_VALGRIND valgrind
493499
probe CFG_PERF perf
494500
probe CFG_ISCC iscc
495501
probe CFG_LLNEXTGEN LLnextgen
502+
probe CFG_JAVAC javac
503+
probe CFG_ANTLR4 antlr4
504+
probe CFG_GRUN grun
496505
probe CFG_PANDOC pandoc
497506
probe CFG_PDFLATEX pdflatex
498507
probe CFG_XELATEX xelatex
@@ -548,13 +557,21 @@ fi
548557

549558
if [ ! -z "$CFG_ENABLE_LOCAL_RUST" ]
550559
then
551-
if [ ! -f ${CFG_LOCAL_RUST_ROOT}/bin/rustc${BIN_SUF} ]
560+
system_rustc=$(which rustc)
561+
if [ -f ${CFG_LOCAL_RUST_ROOT}/bin/rustc${BIN_SUF} ]
552562
then
553-
err "no local rust to use"
563+
: # everything already configured
564+
elif [ -n "$system_rustc" ]
565+
then
566+
# we assume that rustc is in a /bin directory
567+
CFG_LOCAL_RUST_ROOT=${system_rustc%/bin/rustc}
554568
else
555-
LRV=`${CFG_LOCAL_RUST_ROOT}/bin/rustc${BIN_SUF} --version`
556-
step_msg "using rustc at: ${CFG_LOCAL_RUST_ROOT} with version: $LRV"
569+
err "no local rust to use"
557570
fi
571+
572+
LRV=`${CFG_LOCAL_RUST_ROOT}/bin/rustc${BIN_SUF} --version`
573+
step_msg "using rustc at: ${CFG_LOCAL_RUST_ROOT} with version: $LRV"
574+
putvar CFG_LOCAL_RUST_ROOT
558575
fi
559576

560577
# Force freebsd to build with clang; gcc doesn't like us there

trunk/man/rustc.1

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
.TH RUSTC "1" "March 2014" "rustc 0.11.0" "User Commands"
1+
.TH RUSTC "1" "March 2014" "rustc 0.12.0-pre" "User Commands"
22
.SH NAME
33
rustc \- The Rust compiler
44
.SH SYNOPSIS
@@ -11,6 +11,9 @@ This program is a compiler for the Rust language, available at
1111

1212
.SH OPTIONS
1313

14+
.TP
15+
\fB\-\-crate-name NAME\fR
16+
Specify the name of the crate being built
1417
.TP
1518
\fB\-\-crate-type=[bin|lib|dylib|rlib|staticlib]\fR
1619
Configure the flavor of rust crate that is generated (default `bin`)
@@ -60,11 +63,12 @@ Parse only; do not compile, assemble, or link
6063
\fB\-\-pretty\fR [TYPE]
6164
Pretty-print the input instead of compiling; valid types are: normal
6265
(un-annotated source), expanded (crates expanded), typed (crates
63-
expanded, with type annotations), or identified (fully parenthesized,
64-
AST nodes and blocks with IDs)
66+
expanded, with type annotations), identified (fully parenthesized,
67+
AST nodes and blocks with IDs), or flowgraph=<nodeid> (graphviz
68+
formatted flowgraph for node)
6569
.TP
6670
\fB\-\-dep-info\fR [FILENAME]
67-
Output dependency info to <filename> after compiling, in o format suitable
71+
Output dependency info to <filename> after compiling, in a format suitable
6872
for use by Makefiles.
6973
.TP
7074
\fB\-\-sysroot\fR PATH
@@ -138,8 +142,8 @@ A space-separated list of arguments to pass through to LLVM.
138142
If specified, the compiler will save more files (.bc, .o, .no-opt.bc) generated
139143
throughout compilation in the output directory.
140144
.TP
141-
\fBno-rpath\fR
142-
If specified, then the rpath value for dynamic libraries will not be set in
145+
\fBrpath\fR
146+
If specified, then the rpath value for dynamic libraries will be set in
143147
either dynamic library or executable outputs.
144148
.TP
145149
\fBno-prepopulate-passes\fR

trunk/man/rustdoc.1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
.TH RUSTDOC "1" "March 2014" "rustdoc 0.11.0" "User Commands"
1+
.TH RUSTDOC "1" "March 2014" "rustdoc 0.12.0-pre" "User Commands"
22
.SH NAME
33
rustdoc \- generate documentation from Rust source code
44
.SH SYNOPSIS

0 commit comments

Comments
 (0)