Skip to content

Commit 471fe86

Browse files
committed
---
yaml --- r: 98143 b: refs/heads/master c: 1f5dc55 h: refs/heads/master i: 98141: a4a38a2 98139: 56e07ba 98135: 7b09d4d 98127: b22ebb6 98111: 026a3f6 v: v3
1 parent 11112d7 commit 471fe86

File tree

144 files changed

+14218
-4793
lines changed

Some content is hidden

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

144 files changed

+14218
-4793
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: fa91446b2b0c3ffb4d9a4906e6c74cc5d7dfe447
2+
refs/heads/master: 1f5dc552d6f2a8bd7e6f4b568f21c04424231d48
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: b6400f998497c3958f40997a71756ead344a776d
55
refs/heads/try: c274a6888410ce3e357e014568b43310ed787d36

trunk/Makefile.in

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -371,9 +371,6 @@ DRIVER_CRATE := $(S)src/driver/driver.rs
371371
LLVM_COMPONENTS=x86 arm mips ipo bitreader bitwriter linker asmparser jit mcjit \
372372
interpreter instrumentation
373373

374-
# Only build these LLVM tools
375-
LLVM_TOOLS=bugpoint llc llvm-ar llvm-as llvm-dis llvm-mc opt
376-
377374
define DEF_LLVM_VARS
378375
# The configure script defines these variables with the target triples
379376
# separated by Z. This defines new ones with the expected format.
@@ -420,8 +417,7 @@ export CFG_ENABLE_MINGW_CROSS
420417
export CFG_PREFIX
421418
export CFG_LIBDIR
422419
export CFG_RUSTLIBDIR
423-
export CFG_LIBDIR_RELATIVE
424-
export CFG_DISABLE_INJECT_STD_VERSION
420+
export LIBDIR_RELATIVE
425421

426422
######################################################################
427423
# Subprograms
@@ -439,7 +435,7 @@ define SREQ
439435
# Destinations of artifacts for the host compiler
440436
HROOT$(1)_H_$(3) = $(3)/stage$(1)
441437
HBIN$(1)_H_$(3) = $$(HROOT$(1)_H_$(3))/bin
442-
HLIB$(1)_H_$(3) = $$(HROOT$(1)_H_$(3))/$$(CFG_LIBDIR_RELATIVE)
438+
HLIB$(1)_H_$(3) = $$(HROOT$(1)_H_$(3))/$$(LIBDIR_RELATIVE)
443439

444440
# Destinations of artifacts for target architectures
445441
TROOT$(1)_T_$(2)_H_$(3) = $$(HLIB$(1)_H_$(3))/$$(CFG_RUSTLIBDIR)/$(2)

trunk/configure

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -381,7 +381,6 @@ opt clang 0 "prefer clang to gcc for building the runtime"
381381
opt ccache 0 "invoke gcc/clang via ccache to reuse object files between builds"
382382
opt local-rust 0 "use an installed rustc rather than downloading a snapshot"
383383
opt pax-flags 0 "apply PaX flags to rustc binaries (required for GRSecurity/PaX-patched kernels)"
384-
opt inject-std-version 1 "inject the current compiler version of libstd into programs"
385384
valopt prefix "/usr/local" "set installation prefix"
386385
valopt local-rust-root "/usr/local" "set prefix for local rust binary"
387386
valopt llvm-root "" "set LLVM root"
@@ -402,13 +401,13 @@ valopt mandir "${CFG_PREFIX}/share/man" "install man pages in PATH"
402401
# On windows we just store the libraries in the bin directory because
403402
# there's no rpath
404403
# FIXME: Thise needs to parameterized over target triples. Do it in platform.mk
405-
CFG_LIBDIR_RELATIVE=lib
404+
LIBDIR_RELATIVE=lib
406405
if [ "$CFG_OSTYPE" = "pc-mingw32" ]
407406
then
408-
CFG_LIBDIR_RELATIVE=bin
407+
LIBDIR_RELATIVE=bin
409408
fi
410409

411-
valopt libdir "${CFG_PREFIX}/${CFG_LIBDIR_RELATIVE}" "install libraries"
410+
valopt libdir "${CFG_PREFIX}/${LIBDIR_RELATIVE}" "install libraries"
412411
valopt rustlibdir "rustlib" "subdirectory name for rustc's libraries"
413412

414413
# Validate Options
@@ -772,16 +771,16 @@ do
772771
make_dir $h/stage$i/bin
773772

774773
# host lib dir
775-
make_dir $h/stage$i/$CFG_LIBDIR_RELATIVE
774+
make_dir $h/stage$i/$LIBDIR_RELATIVE
776775

777776
# host test dir
778777
make_dir $h/stage$i/test
779778

780779
# target bin dir
781-
make_dir $h/stage$i/$CFG_LIBDIR_RELATIVE/$CFG_RUSTLIBDIR/$t/bin
780+
make_dir $h/stage$i/$LIBDIR_RELATIVE/$CFG_RUSTLIBDIR/$t/bin
782781

783782
# target lib dir
784-
make_dir $h/stage$i/$CFG_LIBDIR_RELATIVE/$CFG_RUSTLIBDIR/$t/lib
783+
make_dir $h/stage$i/$LIBDIR_RELATIVE/$CFG_RUSTLIBDIR/$t/lib
785784
done
786785
done
787786

@@ -1038,12 +1037,11 @@ putvar CFG_TARGET
10381037
putvar CFG_C_COMPILER
10391038
putvar CFG_LIBDIR
10401039
putvar CFG_RUSTLIBDIR
1041-
putvar CFG_LIBDIR_RELATIVE
1040+
putvar LIBDIR_RELATIVE
10421041
putvar CFG_DISABLE_MANAGE_SUBMODULES
10431042
putvar CFG_ANDROID_CROSS_PATH
10441043
putvar CFG_MINGW32_CROSS_PATH
10451044
putvar CFG_MANDIR
1046-
putvar CFG_DISABLE_INJECT_STD_VERSION
10471045

10481046
# Avoid spurious warnings from clang by feeding it original source on
10491047
# ccache-miss rather than preprocessed input.

trunk/doc/README.md

Lines changed: 0 additions & 46 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,6 @@ source code.
88
the Markdown docs (reference manual, tutorials, etc.) distributed with
99
this git repository.
1010

11-
[po4a](http://po4a.alioth.debian.org/) is required for generating translated
12-
docs from the master (English) docs.
13-
14-
[GNU gettext](http://www.gnu.org/software/gettext/) is required for managing
15-
the translation data.
16-
1711
# Building
1812

1913
To generate all the docs, just run `make docs` from the root of the repository.
@@ -44,43 +38,3 @@ http://johnmacfarlane.net/pandoc/README.html#pandocs-markdown
4438

4539
A nice quick reference (for non-pandoc markdown) is at:
4640
http://kramdown.rubyforge.org/quickref.html
47-
48-
# Notes for translators
49-
50-
Notice: The procedure described below is a work in progress. We are working on
51-
translation system but the procedure contains some manual operations for now.
52-
53-
To start the translation for a new language, see po4a.conf at first.
54-
55-
To generate .pot and .po files, do something like:
56-
57-
~~~~
58-
po4a --copyright-holder="The Rust Project Developers" \
59-
--package-name="Rust" \
60-
--package-version="0.10-pre" \
61-
-M UTF-8 -L UTF-8 \
62-
po4a.conf
63-
~~~~
64-
65-
(the version number must be changed if it is not 0.10-pre now.)
66-
67-
Now you can translate documents with .po files, commonly used with gettext. If
68-
you are not familiar with gettext-based translation, please read the online
69-
manual linked from http://www.gnu.org/software/gettext/ . We use UTF-8 as the
70-
file encoding of .po files.
71-
72-
When you want to make a commit, do the command below before staging your
73-
change:
74-
75-
~~~~
76-
for f in doc/po/**/*.po; do
77-
msgattrib --translated $f -o $f.strip
78-
if [ -e $f.strip ]; then
79-
mv $f.strip $f
80-
else
81-
rm $f
82-
fi
83-
done
84-
~~~~
85-
86-
This removes untranslated entries from .po files to save disk space.

trunk/doc/index.md

Lines changed: 29 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -4,54 +4,52 @@
44
<style type="text/css">
55
#TOC { display: none; }
66
.header-section-number { display: none; }
7-
li {list-style-type: none; }
87
</style>
98

10-
* [The Rust tutorial](tutorial.html) (* [PDF](tutorial.pdf))
11-
* [The Rust reference manual](rust.html) (* [PDF](rust.pdf))
9+
[The Rust tutorial](tutorial.html) ([PDF](tutorial.pdf))
10+
[The Rust reference manual](rust.html) ([PDF](rust.pdf))
1211

1312
# Guides
1413

15-
* [Pointers](guide-pointers.html)
16-
* [References and Lifetimes](guide-lifetimes.html)
17-
* [Containers and Iterators](guide-container.html)
18-
* [Tasks and Communication](guide-tasks.html)
19-
* [Foreign Function Interface](guide-ffi.html)
20-
* [Macros](guide-macros.html)
21-
* [Packaging](guide-rustpkg.html)
22-
* [Testing](guide-testing.html)
23-
* [Conditions](guide-conditions.html)
24-
* [Rust's Runtime](guide-runtime.html)
14+
[Pointers](guide-pointers.html)
15+
[References and Lifetimes](guide-lifetimes.html)
16+
[Containers and Iterators](guide-container.html)
17+
[Tasks and Communication](guide-tasks.html)
18+
[Foreign Function Interface](guide-ffi.html)
19+
[Macros](guide-macros.html)
20+
[Packaging](guide-rustpkg.html)
21+
[Testing](guide-testing.html)
22+
[Conditions](guide-conditions.html)
23+
[Rust's Runtime](guide-runtime.html)
2524

2625
# Libraries
2726

28-
* [The standard library, `libstd`](std/index.html)
29-
* [The extra library, `libextra`](extra/index.html)
27+
[The standard library, `libstd`](std/index.html)
28+
[The extra library, `libextra`](extra/index.html)
3029

31-
* [The M:N runtime library, `libgreen`](green/index.html)
32-
* [The 1:1 runtime library, `libnative`](native/index.html)
30+
[The M:N runtime library, `libgreen`](green/index.html)
31+
[The 1:1 runtime library, `libnative`](native/index.html)
3332

34-
* [The Rust libuv library, `librustuv`](rustuv/index.html)
35-
* [The Rust packaging library, `librustpkg`](rustpkg/index.html)
33+
[The Rust libuv library, `librustuv`](rustuv/index.html)
34+
[The Rust packaging library, `librustpkg`](rustpkg/index.html)
3635

37-
* [The Rust parser, `libsyntax`](syntax/index.html)
38-
* [The Rust compiler, `librustc`](rustc/index.html)
36+
[The Rust parser, `libsyntax`](syntax/index.html)
37+
[The Rust compiler, `librustc`](rustc/index.html)
3938

4039
# Tooling
4140

42-
* [The `rustdoc` manual](rustdoc.html)
43-
* [The `rustpkg` manual](rustpkg.html)
41+
[The `rustpkg` manual](rustpkg.html)
4442

4543
# FAQs
4644

47-
* [Language FAQ](complement-lang-faq.html)
48-
* [Project FAQ](complement-project-faq.html)
49-
* [Usage FAQ](complement-usage-faq.html)
50-
* [Code cheatsheet](complement-cheatsheet.html) - "How do I do X?"
51-
* [How to submit a bug report](complement-bugreport.html)
45+
[Language FAQ](complement-lang-faq.html)
46+
[Project FAQ](complement-project-faq.html)
47+
[Usage FAQ](complement-usage-faq.html)
48+
[Code cheatsheet](complement-cheatsheet.html) - "How do I do X?"
49+
[How to submit a bug report](complement-bugreport.html)
5250

5351
# External resources
5452

55-
* The Rust [IRC channel](http://chat.mibbit.com/?server=irc.mozilla.org&channel=%23rust) - `#rust` on irc.mozilla.org
56-
* The Rust community on [Reddit](http://reddit.com/r/rust)
57-
* The Rust [wiki](http://github.com/mozilla/rust/wiki)
53+
The Rust [IRC channel](http://chat.mibbit.com/?server=irc.mozilla.org&channel=%23rust) - `#rust` on irc.mozilla.org
54+
The Rust community on [Reddit](http://reddit.com/r/rust)
55+
The Rust [wiki](http://github.com/mozilla/rust/wiki)

trunk/doc/po/ja/complement-cheatsheet.md.po

Lines changed: 0 additions & 152 deletions
This file was deleted.

0 commit comments

Comments
 (0)