Skip to content

Commit 4b3e826

Browse files
---
yaml --- r: 127667 b: refs/heads/snap-stage3 c: 14e245b h: refs/heads/master i: 127665: 48b285d 127663: 6a2702e v: v3
1 parent ecc0e4b commit 4b3e826

File tree

1,320 files changed

+43047
-59026
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,320 files changed

+43047
-59026
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
refs/heads/master: 49a970f2449a78f28b6c301e542d38593094ca77
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4-
refs/heads/snap-stage3: c4a63fabe345967e7d6b4570752ea081cae21785
4+
refs/heads/snap-stage3: 14e245bd47d3ac1a981d50a6f752aa27cca7d85e
55
refs/heads/try: d9c23fcbaea89871667272a67ecb8d3a512162f3
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b

branches/snap-stage3/.gitattributes

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,3 @@ 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

branches/snap-stage3/.gitignore

Lines changed: 65 additions & 69 deletions
Original file line numberDiff line numberDiff line change
@@ -1,94 +1,90 @@
1-
*.a
2-
*.aux
3-
*.bc
1+
*~
2+
\#*\#
3+
\#*
4+
.#*
5+
*.x86
6+
*.llvm
7+
*.out
48
*.boot
5-
*.bz2
6-
*.cmi
7-
*.cmo
9+
*.rustc
810
*.cmx
9-
*.cp
10-
*.cps
11-
*.d
12-
*.dSYM
13-
*.def
14-
*.diff
1511
*.dll
16-
*.dylib
17-
*.elc
18-
*.epub
12+
*.def
1913
*.exe
14+
*.a
15+
*.rlib
16+
*.so
17+
*.dylib
18+
*.orig
19+
*.cmo
20+
*.cmi
21+
*.dSYM
22+
*.d
23+
*.o
24+
*.ll
25+
*.bc
26+
*.aux
27+
*.cp
2028
*.fn
21-
*.html
2229
*.ky
23-
*.ll
24-
*.llvm
30+
*.cps
2531
*.log
26-
*.o
27-
*.orig
28-
*.out
29-
*.patch
3032
*.pdf
33+
*.epub
34+
*.html
3135
*.pg
32-
*.pot
33-
*.pyc
34-
*.rej
35-
*.rlib
36-
*.rustc
37-
*.so
38-
*.swo
39-
*.swp
40-
*.tmp
4136
*.toc
4237
*.tp
4338
*.vr
44-
*.x86
45-
*~
46-
.#*
47-
.DS_Store
48-
.cproject
39+
*.patch
40+
*.diff
41+
*.rej
42+
*.swp
43+
*.swo
44+
*.tmp
45+
*.pyc
46+
*.elc
4947
.hg/
5048
.hgignore
49+
.cproject
5150
.project
52-
.settings/
5351
.valgrindrc
54-
/*-*-*-*/
55-
/*-*-*/
52+
lexer.ml
53+
TAGS
54+
TAGS.emacs
55+
TAGS.vi
56+
version.ml
57+
version.texi
5658
/Makefile
57-
/build
58-
/dist/
59-
/dl/
60-
/doc
61-
/inst/
62-
/llvm/
63-
/mingw-build/
64-
/nd/
59+
config.mk
6560
/rt/
6661
/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
62+
/test/
63+
/inst/
64+
/mingw-build/
65+
src/.DS_Store
66+
/tmp/
67+
/dist/
7368
/stage0/
69+
/dl/
7470
/stage1/
7571
/stage2/
7672
/stage3/
77-
/test/
78-
/tmp/
79-
TAGS
80-
TAGS.emacs
81-
TAGS.vi
82-
\#*
83-
\#*\#
84-
config.mk
85-
config.stamp
73+
*.bz2
74+
/doc
75+
/nd/
76+
/llvm/
77+
version.md
8678
keywords.md
87-
lexer.ml
88-
src/.DS_Store
89-
src/etc/dl
90-
src/librustc_llvm/llvmdeps.rs
79+
x86_64-apple-darwin/
80+
x86_64-unknown-linux-gnu/
81+
i686-unknown-linux-gnu/
9182
tmp.*.rs
92-
version.md
93-
version.ml
94-
version.texi
83+
config.stamp
84+
.DS_Store
85+
src/etc/dl
86+
.settings/
87+
/build
88+
i686-pc-mingw32/
89+
src/librustc/lib/llvmdeps.rs
90+
*.pot

branches/snap-stage3/CONTRIBUTING.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,7 @@ 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! Although for simple
20-
wording or grammar fixes, this is probably unnecessary.
19+
examples in the docs are tested as well!
2120

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

branches/snap-stage3/Makefile.in

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,6 @@ 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
220219
endif
221220

222221
# Performance and benchmarking

branches/snap-stage3/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 preparation for future removal. Use the
309+
(`#[feature(managed_boxes)]`) in preperation 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 inserting breakpoints
401+
* std: The `rust_begin_unwind` function, useful for insterting 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-
embedded environments.
432+
embeded 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.

branches/snap-stage3/configure

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

294-
DragonFly)
295-
CFG_OSTYPE=unknown-dragonfly
296-
;;
297-
298294
Darwin)
299295
CFG_OSTYPE=apple-darwin
300296
;;
@@ -422,12 +418,10 @@ opt ccache 0 "invoke gcc/clang via ccache to reuse object files between builds"
422418
opt local-rust 0 "use an installed rustc rather than downloading a snapshot"
423419
opt inject-std-version 1 "inject the current compiler version of libstd into programs"
424420
opt llvm-static-stdcpp 0 "statically link to libstdc++ for LLVM"
425-
opt rpath 0 "build rpaths into rustc itself"
421+
opt rpath 1 "build rpaths into rustc itself"
426422
opt nightly 0 "build nightly packages"
427423
opt verify-install 1 "verify installed binaries work"
428424
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"
431425
valopt prefix "/usr/local" "set installation prefix"
432426
valopt local-rust-root "/usr/local" "set prefix for local rust binary"
433427
valopt llvm-root "" "set LLVM root"
@@ -499,9 +493,6 @@ probe CFG_VALGRIND valgrind
499493
probe CFG_PERF perf
500494
probe CFG_ISCC iscc
501495
probe CFG_LLNEXTGEN LLnextgen
502-
probe CFG_JAVAC javac
503-
probe CFG_ANTLR4 antlr4
504-
probe CFG_GRUN grun
505496
probe CFG_PANDOC pandoc
506497
probe CFG_PDFLATEX pdflatex
507498
probe CFG_XELATEX xelatex
@@ -557,21 +548,13 @@ fi
557548

558549
if [ ! -z "$CFG_ENABLE_LOCAL_RUST" ]
559550
then
560-
system_rustc=$(which rustc)
561-
if [ -f ${CFG_LOCAL_RUST_ROOT}/bin/rustc${BIN_SUF} ]
562-
then
563-
: # everything already configured
564-
elif [ -n "$system_rustc" ]
551+
if [ ! -f ${CFG_LOCAL_RUST_ROOT}/bin/rustc${BIN_SUF} ]
565552
then
566-
# we assume that rustc is in a /bin directory
567-
CFG_LOCAL_RUST_ROOT=${system_rustc%/bin/rustc}
568-
else
569553
err "no local rust to use"
554+
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"
570557
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
575558
fi
576559

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

branches/snap-stage3/man/rustc.1

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
.TH RUSTC "1" "March 2014" "rustc 0.12.0-pre" "User Commands"
1+
.TH RUSTC "1" "March 2014" "rustc 0.11.0" "User Commands"
22
.SH NAME
33
rustc \- The Rust compiler
44
.SH SYNOPSIS
@@ -11,9 +11,6 @@ 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
1714
.TP
1815
\fB\-\-crate-type=[bin|lib|dylib|rlib|staticlib]\fR
1916
Configure the flavor of rust crate that is generated (default `bin`)
@@ -63,12 +60,11 @@ Parse only; do not compile, assemble, or link
6360
\fB\-\-pretty\fR [TYPE]
6461
Pretty-print the input instead of compiling; valid types are: normal
6562
(un-annotated source), expanded (crates expanded), typed (crates
66-
expanded, with type annotations), identified (fully parenthesized,
67-
AST nodes and blocks with IDs), or flowgraph=<nodeid> (graphviz
68-
formatted flowgraph for node)
63+
expanded, with type annotations), or identified (fully parenthesized,
64+
AST nodes and blocks with IDs)
6965
.TP
7066
\fB\-\-dep-info\fR [FILENAME]
71-
Output dependency info to <filename> after compiling, in a format suitable
67+
Output dependency info to <filename> after compiling, in o format suitable
7268
for use by Makefiles.
7369
.TP
7470
\fB\-\-sysroot\fR PATH
@@ -142,8 +138,8 @@ A space-separated list of arguments to pass through to LLVM.
142138
If specified, the compiler will save more files (.bc, .o, .no-opt.bc) generated
143139
throughout compilation in the output directory.
144140
.TP
145-
\fBrpath\fR
146-
If specified, then the rpath value for dynamic libraries will be set in
141+
\fBno-rpath\fR
142+
If specified, then the rpath value for dynamic libraries will not be set in
147143
either dynamic library or executable outputs.
148144
.TP
149145
\fBno-prepopulate-passes\fR

branches/snap-stage3/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.12.0-pre" "User Commands"
1+
.TH RUSTDOC "1" "March 2014" "rustdoc 0.11.0" "User Commands"
22
.SH NAME
33
rustdoc \- generate documentation from Rust source code
44
.SH SYNOPSIS

0 commit comments

Comments
 (0)