Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix duplicate word in core docs #6961

Closed
wants to merge 620 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
620 commits
Select commit Hold shift + click to select a range
b7f71e1
Implementing suggestions from @nikomatsakis
thomaslee May 28, 2013
3c4ce79
rustc: Switch ty::node_type_table to smallintmap, cut 400mb memory us…
graydon May 28, 2013
ae7df57
Prevent refcount cycles during linting
alexcrichton May 28, 2013
6d7d759
auto merge of #6752 : osaut/rust/tutorial-tasks, r=graydon
bors May 28, 2013
4521c34
Fix #6696
yjh0502 May 28, 2013
26fb16e
auto merge of #6776 : graydon/rust/node-type-table-hashmap, r=thestinger
bors May 28, 2013
6264df5
auto merge of #6777 : alexcrichton/rust/less-memory, r=graydon
bors May 28, 2013
f7f36a8
auto merge of #6766 : fdr/rust/time-by-value, r=catamorphism
bors May 28, 2013
fe7f528
auto merge of #6769 : catamorphism/rust/issue-4994, r=thestinger
bors May 28, 2013
7ee329e
auto merge of #6770 : lkuper/rust/6762, r=catamorphism
bors May 28, 2013
b738b57
auto merge of #6754 : thestinger/rust/noalias, r=nikomatsakis
bors May 28, 2013
24784e8
auto merge of #6771 : thestinger/rust/highlight, r=luqmana
bors May 28, 2013
c33258b
auto merge of #6773 : lkuper/rust/alt-to-match, r=thestinger
bors May 28, 2013
2505416
Remove colorcolumn setting
hoelzro May 28, 2013
05735a9
auto merge of #6783 : hoelzro/rust/master, r=bstrie
bors May 28, 2013
8749cb5
Fix 'make check-stage1-std' by correcting dependencies
alexcrichton May 27, 2013
accc527
`noalias` on all `&mut` parameters is too coarse
thestinger May 28, 2013
833ed21
auto merge of #6786 : thestinger/rust/revert-noalias-mut-rptr, r=niko…
bors May 28, 2013
c49e41c
compiletest: Add #[no_core] to fix check-stage1.
luqmana May 28, 2013
b04c40b
Silence various warnings throughout test modules
alexcrichton May 27, 2013
d7e1f08
auto merge of #6774 : alexcrichton/rust/silence-warnings, r=graydon
bors May 28, 2013
7ad1cc7
testsuite: Add main function to issue-5554 test
catamorphism May 28, 2013
9a06ff0
auto merge of #6707 : catamorphism/rust/issue-5543, r=catamorphism
bors May 28, 2013
b4a3fe2
librustc: drop AST before running LLVM, frees 400mb on a librustc build
graydon May 28, 2013
9ab2921
use the type's alignment for generated memsets
thestinger May 28, 2013
5676056
auto merge of #6775 : yjh0502/rust/issue_6696, r=catamorphism
bors May 28, 2013
5851d32
Move checking for moves and initialization of local variables and pat…
nikomatsakis May 22, 2013
329f7a1
Update docs on the formal basis of the borrow checker.
nikomatsakis May 26, 2013
bf1647c
Reconcile docs and code, adding examples and adding RESTR_CLAIM
nikomatsakis May 26, 2013
e35db1a
Reconcile treatment of &mut with the docs
nikomatsakis May 27, 2013
f30b538
Update documentation for moves
nikomatsakis May 28, 2013
e3d0c1e
auto merge of #6731 : thomaslee/rust/issue-6575, r=pcwalton
bors May 29, 2013
c8c60f0
auto merge of #6740 : Aatch/rust/atomic-types, r=brson
bors May 29, 2013
b1e7d49
Generalized implementation of FromBase64
sfackler May 29, 2013
d694e28
Refactor optimization pass handling.
Aatch May 27, 2013
a5b87d7
Fix pass creation typo
Aatch May 28, 2013
4988c89
Move the initial dead prototype removal pass
Aatch May 28, 2013
998e2ce
Remove passes that were causing bad optmizations
Aatch May 29, 2013
6861d54
Remove now-unused import
Aatch May 29, 2013
ff86830
Define rustc's host triple at compile time
alexcrichton May 25, 2013
ba33472
Un-ignore rusti/rustpkg tests on i686
alexcrichton May 25, 2013
e0d6486
auto merge of #6780 : june0cho/rust/issue5984, r=brson
bors May 29, 2013
4ad0b8a
Remove extraneous defs from export file
Aatch May 29, 2013
e946b4f
auto merge of #6778 : Aatch/rust/pass-refactor, r=graydon
bors May 29, 2013
d80642b
auto merge of #6784 : nikomatsakis/rust/moves-into-borrowck, r=pcwalton
bors May 29, 2013
14d59af
Fix vec::mut_slice
june0cho May 29, 2013
149960e
auto merge of #6789 : luqmana/rust/compiletest-fix, r=thestinger
bors May 29, 2013
e3e55c5
auto merge of #6793 : graydon/rust/drop-ast-before-llvm, r=Aatch
bors May 29, 2013
faf1afe
Further refactor optimization pass handling
Aatch May 29, 2013
844b5cf
auto merge of #6794 : thestinger/rust/align_zero, r=pcwalton
bors May 29, 2013
a037fa4
auto merge of #6796 : sfackler/rust/FromBase64-type-fix, r=bstrie
bors May 29, 2013
6cc9a26
Replaced calls to external fmin/fmax by a Rust implementation.
Thiez May 29, 2013
562069c
auto merge of #6800 : june0cho/rust/issue5984, r=pcwalton
bors May 29, 2013
3141acf
Changed to a more efficient implementation.
Thiez May 29, 2013
d295709
auto merge of #6733 : alexcrichton/rust/issue-2400, r=brson
bors May 29, 2013
35655a0
auto merge of #6803 : Thiez/rust/native_fmax_fmin, r=brson
bors May 29, 2013
2b08337
Fix #6805: add --enable-ccache configure option to prefix compiler in…
pnkfelix May 29, 2013
bd30285
auto merge of #6813 : pnkfelix/rust/fsk-issue-6805-ccache-support, r=…
bors May 29, 2013
b5da389
auto merge of #6799 : Aatch/rust/pass-refactor, r=graydon
bors May 29, 2013
aeda178
librustc: Redo the unsafe checker and make unsafe methods not callabl…
pcwalton May 24, 2013
481d4ca
libsyntax: Make `drop` no longer a keyword
pcwalton May 24, 2013
4e3d4b3
libsyntax: Stop parsing mutable fields
pcwalton May 24, 2013
206ab89
librustc: Stop reexporting the standard modules from prelude.
pcwalton May 25, 2013
b916e65
librustc: add some imports to back/passes.rs rs=burningtree
erickt May 30, 2013
5fa7884
test: Fix problem with check-fast. rs=burningtree
pcwalton May 30, 2013
bfe141c
Fixes #6824 - Correct scan_number() grammar
May 30, 2013
e67bfab
etc: Fix more check-fast breakage. rs=burningtree
pcwalton May 30, 2013
3a3bf8b
Remove all of the `#[inline(always)]` attributes from bigint
Aatch May 30, 2013
31b2804
auto merge of #6825 : caitp/rust/issue-6824, r=Aatch
bors May 30, 2013
af995ce
Make missing documentation linting more robust
alexcrichton May 28, 2013
4a5d887
Allow doc(hidden) and --test to disable doc linting
alexcrichton May 28, 2013
007651c
Require documentation by default for libstd
alexcrichton May 28, 2013
3956850
libextra: Require documentation by default
alexcrichton May 29, 2013
ca74cbd
auto merge of #6798 : alexcrichton/rust/doc-lints, r=pcwalton
bors May 30, 2013
1720d9f
Remove a bunch of unnecessary allocations and copies
dotdash May 29, 2013
682afca
auto merge of #6829 : dotdash/rust/allocs, r=sanxiyn
bors May 30, 2013
e583d5a
Minor documentation addition.
Xazax-hun May 30, 2013
9fd18a9
Minor style fix.
Xazax-hun May 30, 2013
0d9ea4e
Minor grammar fix.
Xazax-hun May 30, 2013
dcd8490
Remove TrByImplicitRef and source field on datums
nikomatsakis May 29, 2013
2616581
Refactor helper routines to be less tied to match syntax
nikomatsakis May 29, 2013
7dfb865
Remove local_imm/local_mem since all variables are now by reference
nikomatsakis May 29, 2013
c492a21
Remove some spurious copies that are identified by later patches
nikomatsakis May 29, 2013
7f410b3
Attempt to get reuse of common code from multiple clones in different…
pnkfelix May 30, 2013
594f40e
bump clang version
emberian May 30, 2013
a394298
auto merge of #6831 : Xazax-hun/rust/incoming, r=graydon
bors May 30, 2013
5209709
Fix matching of rvalues with destructors
nikomatsakis May 29, 2013
7a1a408
Remove copy bindings from patterns.
nikomatsakis May 29, 2013
9c7eb06
Replace NDM with proper FIXME
nikomatsakis May 30, 2013
784a849
auto merge of #6835 : cmr/rust/clang, r=thestinger
bors May 30, 2013
aef1e10
Remove unnecessary 'use' forms
fdr May 30, 2013
2bed5dc
rustc: change 'use' to 'add' in error message, fix #2994
graydon May 8, 2013
21951e5
Correct issue-2804 test
nikomatsakis May 30, 2013
220e1a6
Add example for uint::range_step.
steveklabnik May 30, 2013
9bfe296
auto merge of #6836 : pnkfelix/rust/fsk-issue6805-ccache-rewrite-base…
bors May 30, 2013
858ca2e
fix the check-stageN-doc-$doc targets, close #5661
graydon May 22, 2013
a9c3b38
add a zsh completion file for rustc
thestinger May 30, 2013
308774e
auto merge of #6340 : graydon/rust/issue-2994, r=graydon
bors May 30, 2013
237dce1
auto merge of #6689 : graydon/rust/issue-5661-doc-test-targets, r=gra…
bors May 31, 2013
ce5fd30
Fix parser test
nikomatsakis May 31, 2013
40b4557
librustc: Bump the offset when translating const structs. Closes #6352.
pcwalton May 31, 2013
b8a53b5
Add 'Sized' builtin kind; doesn't do anything yet
bblum May 31, 2013
32cd9b3
Highlight Sized in vim and kate
bblum May 31, 2013
5113f68
Add simple tests for Sized
bblum May 31, 2013
aed53f9
Promote unreachable code to being a lint attribute
alexcrichton May 30, 2013
d01c7d0
Fix a bug with HashMap::consume
alexcrichton May 30, 2013
3869f7a
auto merge of #6818 : nikomatsakis/rust/irrefut-patterns-refactoring,…
bors May 31, 2013
f8cef24
auto merge of #6841 : steveklabnik/rust/range_docs, r=thestinger
bors May 31, 2013
7272743
auto merge of #6845 : thestinger/rust/zsh-complete, r=graydon
bors May 31, 2013
a25c704
Rewrite deriving(Decodable, Encodable)
alexcrichton May 30, 2013
e86ac24
Implement unimplemented methods in ebml
alexcrichton May 31, 2013
6fcb483
auto merge of #6848 : pcwalton/rust/issue-6352, r=pcwalton
bors May 31, 2013
1dd5cd9
auto merge of #6833 : fdr/rust/fix-warnings, r=Aatch
bors May 31, 2013
030f471
auto merge of #6853 : bblum/rust/sized, r=pcwalton
bors May 31, 2013
85e3c96
Remove the slow bb-vectorize pass
Aatch May 30, 2013
2a30c00
auto merge of #6859 : thestinger/rust/optimize, r=thestinger
bors May 31, 2013
29aba80
mv the raw pointer {swap,replace}_ptr to std::ptr
thestinger May 31, 2013
4f92d3a
rustc: adjust span for error message to not trim last letter
huonw May 31, 2013
5028ac7
auto merge of #6863 : huonw/rust/error-span, r=thestinger
bors May 31, 2013
042618d
ptr: replace unnecessary unsafe code
thestinger May 31, 2013
c582e3e
librustc: Don't require `pub extern` to make extern functions visible
pcwalton May 31, 2013
91a7073
auto merge of #6857 : alexcrichton/rust/ebml-fixes, r=pcwalton
bors May 31, 2013
e694e5f
xfail-fast the deriving test
alexcrichton May 31, 2013
c77d58f
Add as_c_str method on strings
bstrie May 31, 2013
1dc4ea0
bool: rm functions duplicating methods
thestinger May 31, 2013
ed93cc1
fix tutorial lint warnings
thestinger May 31, 2013
55c23bc
auto merge of #6862 : thestinger/rust/swap, r=bstrie
bors May 31, 2013
e516d23
auto merge of #6864 : thestinger/rust/bool, r=pcwalton
bors May 31, 2013
cf64324
extra::term overhaul
emberian May 30, 2013
7281166
Use find_equiv in term
emberian May 30, 2013
1f27c63
rustpkg borrowed pointers
emberian May 30, 2013
100ee84
Only output colors if colors are supported (removes burden from caller)
emberian May 30, 2013
5311d59
extra::term: better error handling and win32 compat
emberian May 30, 2013
11f31b9
Fix formatting for tidy
emberian May 31, 2013
b570536
auto merge of #6729 : bstrie/rust/ascstr, r=Aatch
bors Jun 1, 2013
c299230
Optimize vec::from_elem with manual inlining (borrowck 1.85x speedup …
emberian Jun 1, 2013
c23843c
auto merge of #6876 : cmr/rust/from_elem_opts, r=Aatch
bors Jun 1, 2013
2bf053c
auto merge of #6851 : alexcrichton/rust/bugfixes, r=pcwalton
bors Jun 1, 2013
5076bca
mk: test.mk modify to better support
yichoi May 29, 2013
0ea8274
etc: adb_run_wrapper added
yichoi May 29, 2013
fe1dc32
compiletest: improve exit code handling with adb_run_wrapper
yichoi May 29, 2013
0521d54
etc: adb_run_wrapper argument change
yichoi May 30, 2013
c28c495
etc: adb_run_wrapper.sh - fix to clean test (not produce Text File Busy)
yichoi Jun 1, 2013
8b24a96
compiletest: runtest.rs cleanup
yichoi Jun 1, 2013
89c5ad6
compiletest: runtest.rs tidy
yichoi Jun 1, 2013
18bee38
compiletest: update for language change
yichoi Jun 1, 2013
f6fa5b9
Reexport static methods on structs & enums.
thomaslee Jun 1, 2013
4246694
Fix a small typo in a comment.
thomaslee Jun 1, 2013
6e075b6
Better optimization pipeline
Jun 1, 2013
b8391cc
auto merge of #6881 : Aatch/rust/new-passes-2, r=thestinger
bors Jun 1, 2013
1e52eed
librustc: Don't require `pub extern` to make extern functions visible
pcwalton May 31, 2013
5fb2546
Remove all uses of `pub impl`. rs=style
pcwalton May 31, 2013
44af506
auto merge of #6871 : pcwalton/rust/de-pub-impl, r=pcwalton
bors Jun 1, 2013
023861c
test fixes
emberian Jun 1, 2013
8716843
std: fix run tests when symlink is in the rust checkout path
erickt Jun 1, 2013
c5d7a77
Fix vec::each* return values
jld Jun 1, 2013
64759c9
librustc: Have destructor run for unit-like structs.
luqmana Jun 1, 2013
c35b7b5
auto merge of #6889 : luqmana/rust/unit-struct-drop, r=catamorphism
bors Jun 1, 2013
23808ef
syntax: move callee_id into the expr_ variants
erickt Jun 1, 2013
24e85ac
auto merge of #6880 : thomaslee/rust/issue-6745, r=catamorphism
bors Jun 1, 2013
ddbd1aa
Add test for #6861
luqmana Jun 1, 2013
63417da
auto merge of #6885 : erickt/rust/move-callee_id, r=catamorphism
bors Jun 2, 2013
7bc950c
Refactor some hashmap code into a new private function mangle()
lilyball Jun 1, 2013
75f1b7f
Add new function hashmap.insert_or_update_with()
lilyball Jun 1, 2013
ecd08b9
Swap return value of pipes::init Fixes #4501
Jun 2, 2013
231aea6
rustc: Improve astconv error message
catamorphism May 28, 2013
760c71d
syntax: Add an each_view_item method on traits
catamorphism May 28, 2013
341678b
rustc: Call str::is_empty
catamorphism May 28, 2013
c120464
rustc/rusti/rustpkg: Infer packages from `extern mod` directives
catamorphism May 28, 2013
60126e9
testsuite: Add an xfailed test case for the new `extern mod` syntax
catamorphism May 29, 2013
fc5debd
auto merge of #6807 : catamorphism/rust/rustpkg-extern-mod, r=catamor…
bors Jun 2, 2013
101e387
Mark run-pass/unit-like-struct-drop-run.rs as xfast-fail.
luqmana Jun 2, 2013
96f6f29
auto merge of #6891 : luqmana/rust/unit-struct-drop, r=catamorphism
bors Jun 2, 2013
14c3310
auto merge of #6815 : kballard/rust/hashmap-insert_or_modify_with, r=…
bors Jun 2, 2013
c354a0c
auto merge of #6896 : nickdesaulniers/rust/issue4501, r=brson
bors Jun 2, 2013
d443fc6
Add a get_mut method to accompany the get method.
May 31, 2013
077ca79
auto merge of #6867 : Dretch/rust/hashmap_get_mut, r=nikomatsakis
bors Jun 2, 2013
63b11e4
auto merge of #6866 : pcwalton/rust/pub-extern, r=brson
bors Jun 2, 2013
b51f44e
Fix passing self by value for types passed by value
dotdash Jun 2, 2013
dad9456
auto merge of #6879 : yichoi/rust/arm-test, r=brson
bors Jun 2, 2013
4541331
ptr: split out borrowed pointer utilities
thestinger Jun 2, 2013
c40baf6
auto merge of #6905 : thestinger/rust/ptr, r=catamorphism
bors Jun 2, 2013
5b09dca
docs: Mention recently-added rustpkg features in the rustpkg manual
catamorphism Jun 3, 2013
dee7c5a
Add traits for concat and connect methods
brendanzab Jun 3, 2013
9b60ecc
auto merge of #6908 : bjz/rust/concat-connect, r=Aatch
bors Jun 3, 2013
4f6285f
auto merge of #6903 : dotdash/rust/self_by_value, r=catamorphism
bors Jun 3, 2013
45441e0
Add test for issue #6698
Blei Jun 3, 2013
394ac1a
resolve: don't resolve paths that point to non-static methods
Blei Jun 3, 2013
e900dba
rename the Ptr trait to RawPtr
thestinger Jun 3, 2013
5ddbc88
auto merge of #6913 : thestinger/rust/ptr, r=graydon
bors Jun 3, 2013
fe70361
Add better documentation for the Prelude.
steveklabnik Jun 3, 2013
c68c015
auto merge of #6906 : catamorphism/rust/rustpkg-doc, r=graydon
bors Jun 3, 2013
ae5f3de
Ignore tests that cannot pass on buildbot
emberian Jun 3, 2013
8a43b31
auto merge of #6826 : cmr/rust/terminfo, r=thestinger
bors Jun 3, 2013
846545a
auto merge of #6907 : steveklabnik/rust/prelude_docs, r=graydon
bors Jun 3, 2013
13aa188
auto merge of #6910 : Blei/rust/fix-6698, r=pcwalton
bors Jun 3, 2013
d85938f
Make type_is_pod handle structs correctly. Closes #6868.
msullivan Jun 3, 2013
af418f2
auto merge of #6924 : msullivan/rust/incoming, r=pcwalton
bors Jun 4, 2013
133d451
auto merge of #6886 : jld/rust/vec-each-ret-fix, r=sanxiyn
bors Jun 4, 2013
0c9510a
Use ABI alignment, not "preferred" alignment, to unify monomorphizati…
jld Jun 4, 2013
b500307
auto merge of #6927 : jld/rust/monomorphize-abi-alignment, r=sanxiyn
bors Jun 4, 2013
34ee63e
std::cell: Modernize constructors
Blei Jun 4, 2013
e1c1c05
std::io: Modernize some constructors
Blei Jun 4, 2013
3ce75e7
std::util: Modernize NonCopyable constructor
Blei Jun 4, 2013
1eb3a35
std::util: fix missed old constructor
Blei Jun 4, 2013
69511c2
auto merge of #6928 : Blei/rust/fix-constructors, r=bstrie
bors Jun 4, 2013
979b037
Made fns in the impls for the Atomic structs pub
Thiez Jun 4, 2013
61ac5fd
clone: fix docstring
thestinger Jun 4, 2013
c75c11a
auto merge of #6939 : thestinger/rust/clone, r=catamorphism
bors Jun 4, 2013
5148e2f
sys: get rid of shape functions
thestinger Jun 4, 2013
cf2b00d
auto merge of #6941 : Thiez/rust/pub_atomics, r=thestinger
bors Jun 4, 2013
9873f67
auto merge of #6942 : thestinger/rust/cleanup, r=catamorphism
bors Jun 5, 2013
16086ec
libsyntax: Remove `pub impl` from the language
pcwalton Jun 3, 2013
8114d0e
librustc: Disallow multiple patterns from appearing in a "let" declar…
pcwalton Jun 5, 2013
de82bde
auto merge of #6944 : pcwalton/rust/multiple-patterns-in-let, r=nikom…
bors Jun 5, 2013
c08df70
rust::driver: remove accidental double freevar calculation
Blei Jun 5, 2013
b871c46
syntax: Remove an unnecessary allocation.
huonw Jun 5, 2013
e2d0a30
auto merge of #6947 : Blei/rust/fix-dup-freevars, r=bstrie
bors Jun 5, 2013
de3000a
auto merge of #6948 : huonw/rust/less-alloc, r=bstrie
bors Jun 5, 2013
4936421
contributing: wrap lines for readability
artagnon Jun 5, 2013
1a98726
Makefile.in: simplify logic for CFG_VER_HASH
artagnon Jun 5, 2013
38b1d60
auto merge of #6952 : artagnon/rust/contributing-wrap, r=bstrie
bors Jun 5, 2013
50f96c1
.mailmap: tolerate different names, emails in shortlog
artagnon Jun 5, 2013
77c2c09
add renaming and sctable funs
jbclements May 17, 2013
d7638f9
change to newer macro escape mechanism, using uints in more places
jbclements May 8, 2013
b24b453
comments & whitespace
jbclements May 7, 2013
e99657c
parser comments
jbclements May 14, 2013
7266981
removed obsolete reference to purity
jbclements May 14, 2013
22d21ab
rename repr to name
jbclements May 17, 2013
1537056
just use TLS interner
jbclements May 17, 2013
ae02bf7
removed some interner fields
jbclements May 15, 2013
3203595
interner just uses uints, not idents with syntax context
jbclements Jun 4, 2013
04a691a
token_to_ident takes argument by reference
jbclements Jun 4, 2013
c88f337
remove unused cx's
jbclements May 17, 2013
be22fdd
rand example fixup
jbclements May 17, 2013
19cbd0d
remove interner from tt_reader
jbclements May 21, 2013
367eddf
remove interner field from string_reader
jbclements May 21, 2013
8dad2bb
removed unused imports (and one unused argument)
jbclements Jun 4, 2013
ecdb6e4
remove unused get_ident_interner's
jbclements Jun 4, 2013
5a158f1
add hygiene support functions
jbclements Jun 4, 2013
fe6baa9
added fresh-name fn
jbclements May 14, 2013
91b6526
moved TLS of sctable to ast_util, hid parameter in hygiene calls
jbclements May 21, 2013
c5fea4a
auto merge of #6955 : artagnon/rust/mailmap, r=brson
bors Jun 5, 2013
0409f86
auto merge of #6938 : jbclements/rust/hygiene_fns_and_cleanup, r=jbcl…
bors Jun 5, 2013
eb62781
rustc::back::link: redo symbol mangling
Blei Jun 5, 2013
2c65e2e
auto merge of #6956 : Blei/rust/fix-symbol-mangling, r=catamorphism
bors Jun 5, 2013
f5ef076
auto merge of #6951 : artagnon/rust/makefile-git, r=brson
bors Jun 5, 2013
1ebb62f
Fix stat.rs to not pollute the build directory. Closes #6959.
msullivan Jun 5, 2013
4a19af1
auto merge of #6960 : msullivan/rust/fix-pollution, r=brson
bors Jun 6, 2013
72b3639
Fix duplicate word in core docs
alco Jun 5, 2013
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ src/.DS_Store
/doc/html
/doc/latex
/doc/std
/doc/extra
/nd/
/llvm/
version.md
Expand All @@ -81,7 +82,6 @@ keywords.md
x86_64-apple-darwin/
x86_64-unknown-linux-gnu/
i686-unknown-linux-gnu/
doc/core/
tmp.*.rs
config.stamp
.DS_Store
Expand Down
12 changes: 12 additions & 0 deletions .mailmap
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
#
# This list is used by git-shortlog to aggregate contributions. It is
# necessary when either the author's full name is not always written
# the same way, and/or the same author contributes from different
# email addresses.
#

Elly Jones <elly@leptoquark.net>
ILyoan <ilyoan@gmail.com>
Junyoung Cho <june0.cho@samsung.com>
Matthijs Hofstra <thiezz@gmail.com>
Rob Arnold <robarnold@cs.cmu.edu>
47 changes: 31 additions & 16 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -1,27 +1,42 @@
## Pull request procedure

Pull requests should be targeted at Rust's `incoming` branch (note that by default Github will aim them at the `master` branch) --
see "Changing The Commit Range and Destination Repository" in Github's documentation on [pull requests](https://help.github.com/articles/using-pull-requests).
Before pushing to your Github repo and issuing the pull request, please do two things:
Pull requests should be targeted at Rust's `incoming` branch (note
that by default Github will aim them at the `master` branch) -- see
"Changing The Commit Range and Destination Repository" in Github's
documentation on [pull
requests](https://help.github.com/articles/using-pull-requests).
Before pushing to your Github repo and issuing the pull request,
please do two things:

1. [Rebase](http://git-scm.com/book/en/Git-Branching-Rebasing) your local changes against the `incoming` branch. Resolve any conflicts that arise.
2. Run the full Rust test suite with the `make check` command.
You're not off the hook even if you just stick to documentation; code examples in the docs are tested as well!
1. [Rebase](http://git-scm.com/book/en/Git-Branching-Rebasing) your
local changes against the `incoming` branch. Resolve any conflicts
that arise.

Pull requests will be treated as "review requests",
and we will give feedback we expect to see corrected on [style](https://github.com/mozilla/rust/wiki/Note-style-guide) and substance before pulling.
Changes contributed via pull request should focus on a single issue at a time, like any other.
We will not accept pull-requests that try to "sneak" unrelated changes in.
2. Run the full Rust test suite with the `make check` command. You're
not off the hook even if you just stick to documentation; code
examples in the docs are tested as well!

Normally, all pull requests must include regression tests (see [Note-testsuite](https://github.com/mozilla/rust/wiki/Note-testsuite)) that test your change.
Occasionally, a change will be very difficult to test for.
In those cases, please include a note in your commit message explaining why.
Pull requests will be treated as "review requests", and we will give
feedback we expect to see corrected on
[style](https://github.com/mozilla/rust/wiki/Note-style-guide) and
substance before pulling. Changes contributed via pull request should
focus on a single issue at a time, like any other. We will not accept
pull-requests that try to "sneak" unrelated changes in.

In the licensing header at the beginning of any files you change, please make sure the listed date range includes the current year.
For example, if it's 2013, and you change a Rust file that was created in 2010, it should begin:
Normally, all pull requests must include regression tests (see
[Note-testsuite](https://github.com/mozilla/rust/wiki/Note-testsuite))
that test your change. Occasionally, a change will be very difficult
to test for. In those cases, please include a note in your commit
message explaining why.

In the licensing header at the beginning of any files you change,
please make sure the listed date range includes the current year. For
example, if it's 2013, and you change a Rust file that was created in
2010, it should begin:

```
// Copyright 2010-2013 The Rust Project Developers.
```

For more details, please refer to [Note-development-policy](https://github.com/mozilla/rust/wiki/Note-development-policy).
For more details, please refer to
[Note-development-policy](https://github.com/mozilla/rust/wiki/Note-development-policy).
59 changes: 31 additions & 28 deletions Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,10 @@ endif
ifdef TRACE
CFG_RUSTC_FLAGS += -Z trace
endif
ifndef DEBUG_BORROWS
RUSTFLAGS_STAGE1 += -Z no-debug-borrows
RUSTFLAGS_STAGE2 += -Z no-debug-borrows
endif

# platform-specific auto-configuration
include $(CFG_SRC_DIR)mk/platform.mk
Expand All @@ -142,8 +146,7 @@ ifneq ($(wildcard $(CFG_GIT)),)
ifneq ($(wildcard $(CFG_GIT_DIR)),)
CFG_VERSION += $(shell git --git-dir=$(CFG_GIT_DIR) log -1 \
--pretty=format:'(%h %ci)')
CFG_VER_HASH = $(shell git --git-dir=$(CFG_GIT_DIR) log -1 \
--pretty=format:'%H')
CFG_VER_HASH = $(shell git --git-dir=$(CFG_GIT_DIR) rev-parse HEAD)
endif
endif

Expand Down Expand Up @@ -201,8 +204,8 @@ define DEF_LIBS

CFG_RUNTIME_$(1) :=$(call CFG_LIB_NAME_$(1),rustrt)
CFG_RUSTLLVM_$(1) :=$(call CFG_LIB_NAME_$(1),rustllvm)
CFG_CORELIB_$(1) :=$(call CFG_LIB_NAME_$(1),core)
CFG_STDLIB_$(1) :=$(call CFG_LIB_NAME_$(1),std)
CFG_EXTRALIB_$(1) :=$(call CFG_LIB_NAME_$(1),extra)
CFG_LIBRUSTC_$(1) :=$(call CFG_LIB_NAME_$(1),rustc)
CFG_LIBSYNTAX_$(1) :=$(call CFG_LIB_NAME_$(1),syntax)
CFG_LIBFUZZER_$(1) :=$(call CFG_LIB_NAME_$(1),fuzzer)
Expand All @@ -211,17 +214,17 @@ CFG_LIBRUSTDOC_$(1) :=$(call CFG_LIB_NAME_$(1),rustdoc)
CFG_LIBRUSTI_$(1) :=$(call CFG_LIB_NAME_$(1),rusti)
CFG_LIBRUST_$(1) :=$(call CFG_LIB_NAME_$(1),rust)

EXTRALIB_GLOB_$(1) :=$(call CFG_LIB_GLOB_$(1),extra)
STDLIB_GLOB_$(1) :=$(call CFG_LIB_GLOB_$(1),std)
CORELIB_GLOB_$(1) :=$(call CFG_LIB_GLOB_$(1),core)
LIBRUSTC_GLOB_$(1) :=$(call CFG_LIB_GLOB_$(1),rustc)
LIBSYNTAX_GLOB_$(1) :=$(call CFG_LIB_GLOB_$(1),syntax)
LIBFUZZER_GLOB_$(1) :=$(call CFG_LIB_GLOB_$(1),fuzzer)
LIBRUSTPKG_GLOB_$(1) :=$(call CFG_LIB_GLOB_$(1),rustpkg)
LIBRUSTDOC_GLOB_$(1) :=$(call CFG_LIB_GLOB_$(1),rustdoc)
LIBRUSTI_GLOB_$(1) :=$(call CFG_LIB_GLOB_$(1),rusti)
LIBRUST_GLOB_$(1) :=$(call CFG_LIB_GLOB_$(1),rust)
EXTRALIB_DSYM_GLOB_$(1) :=$(call CFG_LIB_DSYM_GLOB_$(1),extra)
STDLIB_DSYM_GLOB_$(1) :=$(call CFG_LIB_DSYM_GLOB_$(1),std)
CORELIB_DSYM_GLOB_$(1) :=$(call CFG_LIB_DSYM_GLOB_$(1),core)
LIBRUSTC_DSYM_GLOB_$(1) :=$(call CFG_LIB_DSYM_GLOB_$(1),rustc)
LIBSYNTAX_DSYM_GLOB_$(1) :=$(call CFG_LIB_DSYM_GLOB_$(1),syntax)
LIBFUZZER_DSYM_GLOB_$(1) :=$(call CFG_LIB_DSYM_GLOB_$(1),fuzzer)
Expand All @@ -236,19 +239,19 @@ $(foreach target,$(CFG_TARGET_TRIPLES),\
$(eval $(call DEF_LIBS,$(target))))

######################################################################
# Core library variables
# Standard library variables
######################################################################

CORELIB_CRATE := $(S)src/libcore/core.rc
CORELIB_INPUTS := $(wildcard $(addprefix $(S)src/libcore/, \
STDLIB_CRATE := $(S)src/libstd/core.rc
STDLIB_INPUTS := $(wildcard $(addprefix $(S)src/libstd/, \
core.rc *.rs */*.rs */*/*rs */*/*/*rs))

######################################################################
# Standard library variables
# Extra library variables
######################################################################

STDLIB_CRATE := $(S)src/libstd/std.rc
STDLIB_INPUTS := $(wildcard $(addprefix $(S)src/libstd/, \
EXTRALIB_CRATE := $(S)src/libextra/std.rc
EXTRALIB_INPUTS := $(wildcard $(addprefix $(S)src/libextra/, \
std.rc *.rs */*.rs))

######################################################################
Expand All @@ -271,7 +274,7 @@ DRIVER_CRATE := $(S)src/driver/driver.rs

# FIXME: x86-ism
LLVM_COMPONENTS=x86 arm mips ipo bitreader bitwriter linker asmparser jit mcjit \
interpreter
interpreter instrumentation

define DEF_LLVM_VARS
# The configure script defines these variables with the target triples
Expand Down Expand Up @@ -340,33 +343,33 @@ TROOT$(1)_T_$(2)_H_$(3) = $$(HLIB$(1)_H_$(3))/rustc/$(2)
TBIN$(1)_T_$(2)_H_$(3) = $$(TROOT$(1)_T_$(2)_H_$(3))/bin
TLIB$(1)_T_$(2)_H_$(3) = $$(TROOT$(1)_T_$(2)_H_$(3))/$$(CFG_LIBDIR)

# The name of the core and standard libraries used by rustc
# The name of the standard and extra libraries used by rustc
ifdef CFG_DISABLE_SHAREDSTD
HCORELIB_DEFAULT$(1)_H_$(3) = \
$$(HLIB$(1)_H_$(3))/libcore.rlib
TCORELIB_DEFAULT$(1)_T_$(2)_H_$(3) = \
$$(TLIB$(1)_T_$(2)_H_$(3))/libcore.rlib

HSTDLIB_DEFAULT$(1)_H_$(3) = \
$$(HLIB$(1)_H_$(3))/libstd.rlib
TSTDLIB_DEFAULT$(1)_T_$(2)_H_$(3) = \
$$(TLIB$(1)_T_$(2)_H_$(3))/libstd.rlib

HEXTRALIB_DEFAULT$(1)_H_$(3) = \
$$(HLIB$(1)_H_$(3))/libextra.rlib
TEXTRALIB_DEFAULT$(1)_T_$(2)_H_$(3) = \
$$(TLIB$(1)_T_$(2)_H_$(3))/libextra.rlib

HLIBRUSTC_DEFAULT$(1)_H_$(3) = \
$$(HLIB$(1)_H_$(3))/librustc.rlib
TLIBRUSTC_DEFAULT$(1)_T_$(2)_H_$(3) = \
$$(TLIB$(1)_T_$(2)_H_$(3))/librustc.rlib
else
HCORELIB_DEFAULT$(1)_H_$(3) = \
$$(HLIB$(1)_H_$(3))/$(CFG_CORELIB_$(3))
TCORELIB_DEFAULT$(1)_T_$(2)_H_$(3) = \
$$(TLIB$(1)_T_$(2)_H_$(3))/$(CFG_CORELIB_$(2))

HSTDLIB_DEFAULT$(1)_H_$(3) = \
$$(HLIB$(1)_H_$(3))/$(CFG_STDLIB_$(3))
TSTDLIB_DEFAULT$(1)_T_$(2)_H_$(3) = \
$$(TLIB$(1)_T_$(2)_H_$(3))/$(CFG_STDLIB_$(2))

HEXTRALIB_DEFAULT$(1)_H_$(3) = \
$$(HLIB$(1)_H_$(3))/$(CFG_EXTRALIB_$(3))
TEXTRALIB_DEFAULT$(1)_T_$(2)_H_$(3) = \
$$(TLIB$(1)_T_$(2)_H_$(3))/$(CFG_EXTRALIB_$(2))

HLIBRUSTC_DEFAULT$(1)_H_$(3) = \
$$(HLIB$(1)_H_$(3))/$(CFG_LIBRUSTC_$(3))
TLIBRUSTC_DEFAULT$(1)_T_$(2)_H_$(3) = \
Expand All @@ -378,8 +381,8 @@ HSREQ$(1)_H_$(3) = \
$$(HBIN$(1)_H_$(3))/rustc$$(X_$(3)) \
$$(HLIB$(1)_H_$(3))/$(CFG_RUNTIME_$(3)) \
$$(HLIB$(1)_H_$(3))/$(CFG_RUSTLLVM_$(3)) \
$$(HCORELIB_DEFAULT$(1)_H_$(3)) \
$$(HSTDLIB_DEFAULT$(1)_H_$(3)) \
$$(HEXTRALIB_DEFAULT$(1)_H_$(3)) \
$$(HLIBSYNTAX_DEFAULT$(1)_H_$(3)) \
$$(HLIBRUSTC_DEFAULT$(1)_H_$(3)) \
$$(MKFILE_DEPS)
Expand All @@ -393,8 +396,8 @@ TSREQ$(1)_T_$(2)_H_$(3) = \
# Prerequisites for a working stageN compiler and libraries, for a specific target
SREQ$(1)_T_$(2)_H_$(3) = \
$$(TSREQ$(1)_T_$(2)_H_$(3)) \
$$(TLIB$(1)_T_$(2)_H_$(3))/$(CFG_CORELIB_$(2)) \
$$(TLIB$(1)_T_$(2)_H_$(3))/$(CFG_STDLIB_$(2))
$$(TLIB$(1)_T_$(2)_H_$(3))/$(CFG_STDLIB_$(2)) \
$$(TLIB$(1)_T_$(2)_H_$(3))/$(CFG_EXTRALIB_$(2))

# Prerequisites for a working stageN compiler and libraries, for a specific target
CSREQ$(1)_T_$(2)_H_$(3) = \
Expand All @@ -409,8 +412,8 @@ CSREQ$(1)_T_$(2)_H_$(3) = \
$$(HLIB$(1)_H_$(3))/$(CFG_LIBRUSTDOC_$(3)) \
$$(HLIB$(1)_H_$(3))/$(CFG_LIBRUSTI_$(3)) \
$$(HLIB$(1)_H_$(3))/$(CFG_LIBRUST_$(3)) \
$$(TLIB$(1)_T_$(2)_H_$(3))/$(CFG_CORELIB_$(2)) \
$$(TLIB$(1)_T_$(2)_H_$(3))/$(CFG_STDLIB_$(2)) \
$$(TLIB$(1)_T_$(2)_H_$(3))/$(CFG_STDLIB_$(2)) \
$$(TLIB$(1)_T_$(2)_H_$(3))/$(CFG_EXTRALIB_$(2)) \
$$(TLIB$(1)_T_$(2)_H_$(3))/$(CFG_LIBSYNTAX_$(2)) \
$$(TLIB$(1)_T_$(2)_H_$(3))/$(CFG_LIBRUSTC_$(2)) \
$$(TLIB$(1)_T_$(2)_H_$(3))/$(CFG_LIBFUZZER_$(2)) \
Expand Down
70 changes: 58 additions & 12 deletions configure
Original file line number Diff line number Diff line change
Expand Up @@ -376,6 +376,7 @@ opt fast-make 0 "use .gitmodules as timestamp for submodule deps"
opt manage-submodules 1 "let the build manage the git submodules"
opt mingw-cross 0 "cross-compile for win32 using mingw"
opt clang 0 "prefer clang to gcc for building the runtime"
opt ccache 0 "invoke gcc/clang via ccache to reuse object files between builds"
opt local-rust 0 "use an installed rustc rather than downloading a snapshot"
opt pax-flags 0 "apply PaX flags to rustc binaries (required for GRSecurity/PaX-patched kernels)"
valopt prefix "/usr/local" "set installation prefix"
Expand Down Expand Up @@ -421,6 +422,7 @@ else
fi

probe CFG_CLANG clang++
probe CFG_CCACHE ccache
probe CFG_GCC gcc
probe CFG_LD ld
probe CFG_VALGRIND valgrind
Expand Down Expand Up @@ -555,11 +557,11 @@ then
CFG_CLANG_VERSION=$("$CFG_CLANG" \
--version \
| grep version \
| sed 's/.*\(version .*\)/\1/' \
| sed 's/.*\(version .*\)/\1/; s/.*based on \(LLVM .*\))/\1/' \
| cut -d ' ' -f 2)

case $CFG_CLANG_VERSION in
(3.0svn | 3.0 | 3.1* | 3.2* | 3.3* | 4.0* | 4.1* | 4.2*)
(3.0svn | 3.0 | 3.1* | 3.2* | 3.3* | 3.4* )
step_msg "found ok version of CLANG: $CFG_CLANG_VERSION"
CFG_C_COMPILER="clang"
;;
Expand All @@ -571,6 +573,16 @@ else
CFG_C_COMPILER="gcc"
fi

if [ ! -z "$CFG_ENABLE_CCACHE" ]
then
if [ -z "$CFG_CCACHE" ]
then
err "ccache requested but not found"
fi

CFG_C_COMPILER="ccache $CFG_C_COMPILER"
fi

# a little post-processing of various config values

CFG_PREFIX=${CFG_PREFIX%/}
Expand Down Expand Up @@ -643,7 +655,7 @@ fi
step_msg "making directories"

for i in \
doc doc/core doc/std \
doc doc/std doc/extra \
dl tmp
do
make_dir $i
Expand All @@ -665,12 +677,16 @@ make_dir rt
for t in $CFG_TARGET_TRIPLES
do
make_dir rt/$t
for i in \
isaac linenoise sync test \
arch/i386 arch/x86_64 arch/arm arch/mips \
libuv libuv/src/ares libuv/src/eio libuv/src/ev
for s in 0 1 2 3
do
make_dir rt/$t/$i
make_dir rt/$t/stage$s
for i in \
isaac linenoise sync test \
arch/i386 arch/x86_64 arch/arm arch/mips \
libuv libuv/src/ares libuv/src/eio libuv/src/ev
do
make_dir rt/$t/stage$s/$i
done
done
done

Expand Down Expand Up @@ -821,20 +837,35 @@ do
--enable-bindings=none --disable-threads \
--disable-pthreads"

if [ "$CFG_C_COMPILER" = "clang" ]
then
case "$CFG_C_COMPILER" in
("ccache clang")
LLVM_CXX_32="ccache clang++ -m32 -Qunused-arguments"
LLVM_CC_32="ccache clang -m32 -Qunused-arguments"

LLVM_CXX_64="ccache clang++ -Qunused-arguments"
LLVM_CC_64="ccache clang -Qunused-arguments"
;;
("clang")
LLVM_CXX_32="clang++ -m32"
LLVM_CC_32="clang -m32"

LLVM_CXX_64="clang++"
LLVM_CC_64="clang"
else
;;
("ccache gcc")
LLVM_CXX_32="ccache g++ -m32"
LLVM_CC_32="ccache gcc -m32"

LLVM_CXX_64="ccache g++"
LLVM_CC_64="ccache gcc"
;;
("gcc")
LLVM_CXX_32="g++ -m32"
LLVM_CC_32="gcc -m32"

LLVM_CXX_64="g++"
LLVM_CC_64="gcc"
fi
esac

LLVM_CFLAGS_32="-m32"
LLVM_CXXFLAGS_32="-m32"
Expand Down Expand Up @@ -931,6 +962,21 @@ then
putvar CFG_PAXCTL
fi

# Avoid spurious warnings from clang by feeding it original source on
# ccache-miss rather than preprocessed input.
if [ ! -z "$CFG_ENABLE_CCACHE" ] && [ ! -z "$CFG_ENABLE_CLANG" ]
then
CFG_CCACHE_CPP2=1
putvar CFG_CCACHE_CPP2
fi

if [ ! -z "$CFG_ENABLE_CCACHE" ]
then
CFG_CCACHE_BASEDIR=${CFG_SRC_DIR}
putvar CFG_CCACHE_BASEDIR
fi


if [ ! -z $BAD_PANDOC ]
then
CFG_PANDOC=
Expand Down
Loading