Skip to content

Incremental compilation auto assert for rustc_clean/dirty #1

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

Closed
wants to merge 304 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
304 commits
Select commit Hold shift + click to select a range
cde47ce
Remove DepNodeIndex::new is already impl for Idx
spastorino Sep 27, 2017
36d663f
Remove mem::transmute used in Box<str> conversions
nvzqz Sep 27, 2017
70c3a3d
Remove DepNodeIndexNew::new and ::index, they are already impl for Idx
spastorino Sep 27, 2017
e0e14c9
Remove SerializedDepNodeIndex::new it is already impl for Idx
spastorino Sep 27, 2017
6dfa45d
Remove extraneous brackets from abort documentation
Sep 27, 2017
7ab20c8
Explain difference between panic! and abort in abort docs
Sep 27, 2017
2bd104f
Impl Try for Option
huntiep Jun 8, 2017
f098d7b
Add tests for Option and Result Try impl
huntiep Jun 8, 2017
8f63e8d
Add docs for Missing, correct Option's Try test
huntiep Jun 8, 2017
28996db
Rename option::Missing to NoneError
huntiep Jun 18, 2017
e30d92b
Add UI tests
huntiep Sep 22, 2017
61c0c9e
Made `fs::copy` return the length of the main stream
stephaneyfx Sep 28, 2017
6d14512
Remove mem::transmute used in CStr conversions
nvzqz Sep 28, 2017
0118398
Docs for size_of::<#[repr(C)]> items.
Havvy Sep 27, 2017
72b3139
Backticks.
Havvy Sep 28, 2017
20fc215
Normalize spaces in lang attributes.
Havvy Sep 28, 2017
755fd29
Fix mutability error in CString::from_raw
nvzqz Sep 28, 2017
33eaa94
Remove mem::transmute used in OsStr conversions
nvzqz Sep 28, 2017
627998e
Remove unused 'mem' import in 'os_str' module
nvzqz Sep 28, 2017
48c20b6
Remove mem::transmute used in Path conversions
nvzqz Sep 28, 2017
c7b4a96
Remove unused 'mem' import in 'path' module
nvzqz Sep 28, 2017
cb2a656
Fix errors in Box<Path> conversions
nvzqz Sep 28, 2017
3457a22
ci: Fix building disabled containers
kallisti5 Sep 5, 2017
0ece48e
Remove link duplication.
Havvy Sep 28, 2017
6c9a4ba
rustc: Add Type::c_int()
dkl Sep 21, 2017
c2fe69b
rustc: Fix main() entry point signature on 64bit
dkl Sep 21, 2017
6c3f190
test: Check native main() signature
dkl Sep 28, 2017
7f9e653
Fix TcpStream::local_addr example code
leavehouse Sep 29, 2017
6482ee7
Fix imports in TcpStream::local_addr docs example
leavehouse Sep 29, 2017
1a29e82
Remove conflicting TryFrom impls on 32-bit targets.
jimmycuadra Sep 29, 2017
6f8b69f
Mir pretty print: Add cleanup comment
diwic Sep 29, 2017
87d7520
rustdoc: Extract converter from Impementor to Item to a fn
vi Sep 29, 2017
9f02e1a
rustdoc: Render [src] links for trait implementors (#43893)
vi Sep 29, 2017
bcda695
mir-borrowck: Move span_label calls for `cannot_assign_to_borrowed()`…
zilbuz Sep 28, 2017
5c8066b
mir-borrowck: Move span_label calls for `cannot_use_when_mutably_borr…
zilbuz Sep 28, 2017
d328d26
mir-borrowck: Factorize error message for `cannot_assign_static()` be…
zilbuz Sep 28, 2017
6f87d20
Auto merge of #42526 - huntiep:try_opt, r=nikomatsakis
bors Sep 29, 2017
966cf33
Simplify implementation of From<Infallible> for TryFromIntError.
jimmycuadra Sep 29, 2017
27d95d3
Fix more TryFrom impls for integers.
jimmycuadra Sep 29, 2017
b7041bf
Auto merge of #44174 - jimmycuadra:try-from-infallible, r=sfackler
bors Sep 29, 2017
daf3ed5
Add links to headers in README and CONTRIBUTING and dependencies to C…
vitiral Sep 29, 2017
4114d68
Update the libcompiler_builtins submodule
est31 Sep 28, 2017
f407b2b
Rollup merge of #44124 - gaurikholkar:return_self, r=arielb1
Mark-Simulacrum Sep 29, 2017
f91c55e
Rollup merge of #44287 - Eh2406:master, r=aturon
Mark-Simulacrum Sep 29, 2017
20f892f
Rollup merge of #44320 - jakllsch:jakllsch-caf2c3d2-c939-4c4d-8c68-1a…
Mark-Simulacrum Sep 29, 2017
6bc8ca0
Rollup merge of #44694 - tommyip:make_clean, r=Mark-Simulacrum
Mark-Simulacrum Sep 29, 2017
8083877
Rollup merge of #44708 - toidiu:ak-44493, r=nikomatsakis
Mark-Simulacrum Sep 29, 2017
f2feb83
Rollup merge of #44794 - napen123:master, r=frewsxcv
Mark-Simulacrum Sep 29, 2017
b1437bc
Rollup merge of #44797 - lucasem:master, r=frewsxcv
Mark-Simulacrum Sep 29, 2017
570f1ce
Rollup merge of #44824 - dtolnay:22really21, r=alexcrichton
Mark-Simulacrum Sep 29, 2017
327cd0d
Rollup merge of #44836 - GuillaumeGomez:fmt-missing-links, r=QuietMis…
Mark-Simulacrum Sep 29, 2017
3d7a390
Rollup merge of #44840 - steveklabnik:fix-wording, r=BurntSushi
Mark-Simulacrum Sep 29, 2017
7c3d376
Rollup merge of #44845 - SimonSapin:nll_mod_rs, r=nikomatsakis
Mark-Simulacrum Sep 29, 2017
7756d39
Rollup merge of #44854 - lucasem:atomic-docs, r=steveklabnik
Mark-Simulacrum Sep 29, 2017
37c74e1
Rollup merge of #44889 - spastorino:remove_new, r=arielb1
Mark-Simulacrum Sep 29, 2017
4489a7a
Rollup merge of #44900 - Havvy:normalize-lang-attribute-spacing, r=sf…
Mark-Simulacrum Sep 29, 2017
d6451f0
Rollup merge of #44903 - kallisti5:ci-build-disabled, r=aidanhs
Mark-Simulacrum Sep 29, 2017
d892e98
rustdoc: A test for local and foreign [src] trait impl links
vi Sep 30, 2017
baa0105
copy resolve() over to librustc
qmx Sep 19, 2017
3bd09de
re-enable mir inlining across trait methods
qmx Sep 19, 2017
5eb302f
always use resolve
qmx Sep 19, 2017
24fc50f
make it not to be a method
qmx Sep 19, 2017
8a5800e
take ParamEnv into account when resolving
qmx Sep 28, 2017
081b29c
stop using monomorphize::resolve()
qmx Sep 28, 2017
2922066
style fixes as requested by @eddyb
qmx Sep 28, 2017
08e1f0b
fix formatting
qmx Sep 30, 2017
59e778e
improve documentation for resolve()
qmx Sep 30, 2017
a29c770
make match exaustive
qmx Sep 30, 2017
c27a82f
Don't use remapped path when loading modules and include files
philipc Sep 30, 2017
d663003
fix comment typo, `CodeSuggestion` path in doc comment
zackmdavis Sep 30, 2017
4491ea5
Auto merge of #44893 - spastorino:remove_new_and_index, r=nikomatsakis
bors Sep 30, 2017
ded38db
rustc: Enable LTO and multiple codegen units
alexcrichton Jul 23, 2017
ff99111
address some `FIXME`s whose associated issues were marked as closed
nivkner Sep 29, 2017
c4cca3a
Auto merge of #44936 - Mark-Simulacrum:rollup, r=Mark-Simulacrum
bors Sep 30, 2017
7ed23f1
Update RELEASES.md
Aaronepower Sep 30, 2017
5eebab2
remove "refinement on pat" FIXME
nivkner Sep 30, 2017
eb59952
Docs: Add trace_macros! to unstable book
dbrgn Sep 30, 2017
a204c19
rustc: Specify c_int width for each target
dkl Sep 30, 2017
f1798d3
Cast inner type in OsStr::bytes
nvzqz Sep 30, 2017
12a8bc6
rustc: Use 16bit c_int for msp430
dkl Sep 30, 2017
8037c28
Do not require semantic types for all syntactic types when there are …
petrochenkov Sep 30, 2017
c6884b1
Auto merge of #44783 - alexcrichton:lto-codegen-units, r=michaelwoeri…
bors Sep 30, 2017
b24a672
weird formatting
qmx Sep 30, 2017
5b59c4d
let htmldocck.py check for directories
QuietMisdreavus Sep 25, 2017
f2c5acd
code suggestion for deprecated-attribute lint
zackmdavis Sep 30, 2017
5c9f806
code suggestion for unused-parentheses lint
zackmdavis Sep 30, 2017
e3b4989
code suggestions for unused-mut, while-true lints; UI test
zackmdavis Sep 30, 2017
afe9320
Auto merge of #44944 - dbrgn:trace-macros-docs, r=QuietMisdreavus
bors Sep 30, 2017
a4e8373
test: Update target specs test for new target-c-int-width field
dkl Sep 30, 2017
1c09315
Auto merge of #44921 - est31:master, r=alexcrichton
bors Oct 1, 2017
0defa20
Auto merge of #44906 - dkl:main-signature, r=nagisa
bors Oct 1, 2017
67c9af5
rustdoc: Style of [src] link for trait implementors
vi Oct 1, 2017
3651cdd
Auto merge of #44945 - petrochenkov:fixtyrec, r=arielb1
bors Oct 1, 2017
30b19c9
Fix typo: geneartor -> generator
Oct 1, 2017
11e141e
stray comma
qmx Oct 1, 2017
622a78c
handle nested generics in Generics::type_param/region_param
arielb1 Oct 1, 2017
1ebc7bb
Resolves #36284 - vec.rs documentation
Oct 1, 2017
cef4a3e
Auto merge of #44897 - Havvy:doc-size_of, r=steveklabnik
bors Oct 1, 2017
f1b5225
Auto merge of #44919 - diwic:79-pretty-mir, r=arielb1
bors Oct 1, 2017
ad99866
fix handling of Self
arielb1 Oct 1, 2017
a4af930
Auto merge of #44955 - laumann:small-typo-fix, r=steveklabnik
bors Oct 1, 2017
e6c3c7f
Corrected the CONTRIBUTING.md "External Dependencies" section
budziq Sep 17, 2017
b989101
make non_snake_case lint allow extern no-mangle functions
zackmdavis Oct 1, 2017
2146c61
Auto merge of #44960 - SeanPrashad:master, r=steveklabnik
bors Oct 2, 2017
8a14022
correct unused-parens lint suggestion to strip exact pair
zackmdavis Sep 30, 2017
9ae6ed7
Auto merge of #44942 - zackmdavis:lint_suggestions, r=estebank
bors Oct 2, 2017
706e52e
fix handling of `Self`
arielb1 Oct 2, 2017
5517a1c
fix ItemKind::DefaultImpl doc comment
durka Oct 2, 2017
0f0f5db
Auto merge of #44959 - arielb1:generic-errors, r=eddyb
bors Oct 2, 2017
fc5e8dc
fix comment on DefaultImpl
durka Oct 2, 2017
a948be8
incr.comp.: Determine red/green state of every new node.
michaelwoerister Sep 25, 2017
6db27d9
incr.comp.: Add minimal version of try_mark_green procedure.
michaelwoerister Sep 25, 2017
f0bbf4e
incr.comp.: Re-execute queries during red/green marking in order to f…
michaelwoerister Sep 26, 2017
e1994bd
incr.comp.: Make some DepNodes non-anonymous.
michaelwoerister Sep 27, 2017
c9a17ef
incr.comp.: Add some logging to DepGraph::try_mark_green().
michaelwoerister Sep 27, 2017
e6badfd
incr.comp.: Use red/green tracking for CGU re-use.
michaelwoerister Sep 28, 2017
272c324
incr.comp.: Build DepGraphQuery from new dep-graph impl.
michaelwoerister Sep 28, 2017
171c020
incr.comp.: Remove saving and loading of legacy dep-graph.
michaelwoerister Sep 28, 2017
acef039
rustdoc: Remove cruft from the test
vi Oct 2, 2017
df06a7e
incr.comp.: Remove legacy dep-graph runtime.
michaelwoerister Sep 28, 2017
dbab705
incr.comp.: Do some cleanup.
michaelwoerister Sep 28, 2017
1bbf41d
update mdbook
steveklabnik Oct 2, 2017
1e26094
Allow atomic operations up to 32 bits
jamesmunns Oct 2, 2017
a5296a5
windows: make `backtrace = false` compile
hinaria Oct 2, 2017
851b6d4
update books for next release
steveklabnik Oct 2, 2017
185cc5f
Auto merge of #44885 - lu-zero:master, r=alexcrichton
bors Oct 2, 2017
28ef0d1
Document that process::abort will not call the panic hook
Oct 2, 2017
17f6b68
Remove assertion that the argument to every `EndRegion` correspond to
pnkfelix Oct 2, 2017
bdcb7fb
Auto merge of #44977 - steveklabnik:update-mdbook, r=alexcrichton
bors Oct 2, 2017
67ed489
Auto merge of #44966 - zackmdavis:no_mangle_no_snake, r=aturon
bors Oct 3, 2017
61bad30
Auto merge of #44920 - vi:rustdoc_implementors_src_link, r=GuillaumeG…
bors Oct 3, 2017
3a225c7
Rename FileMap::path and change to an Option
philipc Oct 3, 2017
2d108ec
Use HTTPS protocol for `chat.mibbit.com`
suriyaa Oct 3, 2017
9bbd7a3
Add fixme regarding remapping paths for doctests
philipc Oct 3, 2017
c96d0bf
incr.comp.: Fix some merge fallout.
michaelwoerister Sep 29, 2017
aac64c4
Overlapping borrows can point to different lvalues.
pnkfelix Oct 3, 2017
8891044
Auto merge of #44896 - qmx:move-resolve-to-librustc, r=arielb1
bors Oct 3, 2017
80fe86f
Add build environment for Solaris
bgermann Oct 3, 2017
835e3e5
Auto merge of #44922 - zilbuz:issue-44596/E0594, r=pnkfelix
bors Oct 3, 2017
b3d85fc
Typo in `librustc/README.md`
MaikKlein Oct 3, 2017
c5c3614
related to #44924: update incr compilation for struct_defs.rs
vitiral Sep 30, 2017
4502e2a
Auto merge of #44949 - QuietMisdreavus:rustdoctest-dirs, r=nikomatsakis
bors Oct 3, 2017
bd90aa6
Auto merge of #44895 - stephaneyfx:master, r=dtolnay
bors Oct 3, 2017
3647129
Add -Zmutable-noalias flag
Gankra Oct 3, 2017
2db48d7
Auto merge of #44979 - hinaria:master, r=dtolnay
bors Oct 4, 2017
f1938cf
Auto merge of #44999 - pnkfelix:mir-borrowck-fix-assert-left-right, r…
bors Oct 4, 2017
eabef06
Auto merge of #44905 - Pirh:process_abort_docs, r=steveklabnik
bors Oct 4, 2017
c68b10f
add notes to report_conflicting_borrow MIR borrowck
mikhail-m1 Sep 27, 2017
0454a41
incr.comp.: Address review comments.
michaelwoerister Oct 4, 2017
fd8099f
Auto merge of #44882 - mikhail-m1:master, r=pnkfelix
bors Oct 4, 2017
4a6ede7
Don't unwrap work item results as the panic trace is useless
aidanhs Oct 4, 2017
e1df72f
Add missing urls for Mutex
GuillaumeGomez Oct 4, 2017
51542a9
seperate and move miscellaneous benchmarks to librustc
nivkner Oct 4, 2017
417ffc9
Auto merge of #44890 - nvzqz:str-box-transmute, r=alexcrichton
bors Oct 4, 2017
2af12b7
add the issue number to doc_masked's feature gate
QuietMisdreavus Oct 4, 2017
559adb7
avoid using match keyword as module name
nivkner Oct 4, 2017
d7e73e4
Auto merge of #44901 - michaelwoerister:on-demand-eval, r=nikomatsakis
bors Oct 4, 2017
a6dea41
Make -Cpanic=abort imply -Zmutable-noalias
Gankra Oct 4, 2017
a82891a
Rename dist-fuchsia builder to cross2
bgermann Oct 4, 2017
4e69d2e
Merge dist-solaris with cross2 builder
bgermann Oct 4, 2017
0c5de86
Store a new Region value every time we create a new region variable
Nashenas88 Sep 27, 2017
f5cef21
Convert regions to IndexVec
spastorino Sep 27, 2017
3d230af
Move newtype_index to rustc_data_structures
spastorino Sep 27, 2017
c8549a1
Generate Idx in nll using newtype_index!
spastorino Sep 28, 2017
9af7426
Make newtype_index macro use full path to resolve constants
spastorino Sep 28, 2017
3502bec
Make newtype_index get debug_name using reflection
spastorino Oct 3, 2017
b5a5556
Generate DepNodeIndexNew using newtype_index macro
spastorino Sep 28, 2017
8ee16f4
Generate SerializedDepNodeIndex using newtype_index macro
spastorino Sep 28, 2017
271a492
Generate ScopeId using newtype_index macro
spastorino Sep 28, 2017
bd36dcf
Auto merge of #44481 - Aaronepower:master, r=alexcrichton
bors Oct 5, 2017
276bebe
Update trait summaries for std::fmt
brennie Oct 5, 2017
a0db04b
Auto merge of #44940 - philipc:remap-path, r=michaelwoerister
bors Oct 5, 2017
b50e8eb
Fix infinite recursion in <DepNode as Debug>.
michaelwoerister Oct 4, 2017
abef7e1
Auto merge of #45019 - aidanhs:aphs-no-trans-worker-panic, r=alexcric…
bors Oct 5, 2017
a78ce07
Fix CC for solaris environments
bgermann Oct 5, 2017
b34ade0
Rollup merge of #44664 - budziq:contributing_external, r=steveklabnik
kennytm Oct 5, 2017
3a037f1
Rollup merge of #44935 - vitiral:dependencies, r=steveklabnik
kennytm Oct 5, 2017
b380254
Rollup merge of #44972 - durka:patch-44, r=arielb1
kennytm Oct 5, 2017
14d8055
Rollup merge of #44980 - steveklabnik:update-books, r=estebank
kennytm Oct 5, 2017
9a43c28
Rollup merge of #44987 - pnkfelix:mir-borrowck-fix-borrowindexes-ice,…
kennytm Oct 5, 2017
856a12d
Rollup merge of #44997 - SuriyaaKudoIsc:patch-1, r=steveklabnik
kennytm Oct 5, 2017
71fba53
Rollup merge of #45006 - MaikKlein:patch-2, r=nikomatsakis
kennytm Oct 5, 2017
8249004
Rollup merge of #45017 - GuillaumeGomez:mutex-links, r=estebank
kennytm Oct 5, 2017
5440733
Rollup merge of #45024 - QuietMisdreavus:doc-masked-issue-num, r=pnkf…
kennytm Oct 5, 2017
1db1144
Auto merge of #45046 - kennytm:rollup, r=kennytm
bors Oct 5, 2017
9bff9e0
delete 'if: branch = auto' for cross2 builder
bgermann Oct 5, 2017
724dd46
Add libsocket and libresolv to Solaris builder
bgermann Oct 5, 2017
4531131
Auto merge of #44878 - Nashenas88:master, r=nikomatsakis
bors Oct 5, 2017
dba52ff
restore 'if: branch = auto' for cross2 builder
bgermann Oct 5, 2017
8fd3c8f
Faster compile times for release builds with llvm fix
andjo403 Oct 5, 2017
417c738
Auto merge of #44943 - nivkner:fixme_fixup, r=dtolnay
bors Oct 5, 2017
5e251b7
Modify Rc/Arc language around mutability
steveklabnik Oct 5, 2017
98045fd
Add missing links for AtomicBool
GuillaumeGomez Oct 5, 2017
2d9161d
Improve resolution of associated types in macros 2.0
petrochenkov Sep 25, 2017
9602fe1
replace libc::res_init with res_init_if_glibc_before_2_26
oconnor663 Oct 1, 2017
f5e036a
Auto merge of #45054 - andjo403:master, r=alexcrichton
bors Oct 5, 2017
7be36d2
`proc_macro::Span` API improvements
abonander Aug 2, 2017
73ca15c
Fix typo, per #45057.
hunteke Oct 6, 2017
b915820
Auto merge of #44951 - vitiral:incr_struct_defs, r=michaelwoerister
bors Oct 6, 2017
ed1cffd
Auto merge of #44818 - petrochenkov:astymac2, r=jseyfried
bors Oct 6, 2017
9e36111
Implement `entry_and_modify`
mchlrhw Sep 20, 2017
14c6c11
Add a semicolon to span for ast::Local
topecongiro Oct 6, 2017
3ed8b69
Auto merge of #44965 - oconnor663:res_init_glibc, r=dtolnay
bors Oct 6, 2017
a8feaee
Auto merge of #44734 - mchlrhw:wip/hashmap-entry-and-then, r=BurntSushi
bors Oct 6, 2017
91fdadb
fix logic error in #44269's `prune_cache_value_obligations`
arielb1 Oct 6, 2017
b67f428
Auto merge of #45065 - arielb1:not-correct, r=nikomatsakis
bors Oct 6, 2017
05cbece
Auto merge of #43604 - abonander:proc_macro_span_api, r=jseyfried
bors Oct 6, 2017
de55b4f
implement pattern-binding-modes RFC
tbg Oct 6, 2017
e11f6d5
Auto merge of #44614 - tschottdorf:pat_adjustments, r=nikomatsakis
bors Oct 7, 2017
7d6c3da
Trim and document compiler-builtins shim
tamird Sep 12, 2017
cce9343
Auto merge of #44515 - tamird:clean-shims, r=alexcrichton
bors Oct 7, 2017
d2f71bf
Auto merge of #44860 - kennytm:fix-44731, r=alexcrichton
bors Oct 7, 2017
45907f5
fmt: remove unnecessary lint suppression
tamird Oct 7, 2017
19dcf91
fmt: DRY
tamird Oct 7, 2017
41b105b
fmt: remove misleading comment fragment
tamird Oct 7, 2017
3493c62
Add names to BareFnTy
GuillaumeGomez Sep 26, 2017
bb4d149
Auto merge of #44913 - leavehouse:patch-1, r=BurntSushi
bors Oct 7, 2017
4ca1b19
rustc: Implement ThinLTO
alexcrichton Jul 23, 2017
fe24e81
Fix invalid rustdoc rendering for FnTy args
GuillaumeGomez Sep 26, 2017
691ab6c
Document that `-C ar=PATH` doesn't do anything
petrochenkov Oct 7, 2017
2b8f190
enable strict alignment (+strict-align) on ARMv6
japaric Oct 7, 2017
05f8ddc
Auto merge of #44892 - GuillaumeGomez:fnty-args-rustdoc, r=eddyb
bors Oct 7, 2017
d52acbe
Add read_to_end implementation to &[u8]'s Read impl
fhartwig Oct 7, 2017
ac76206
Auto merge of #44841 - alexcrichton:thinlto, r=michaelwoerister
bors Oct 7, 2017
f47f53c
Auto merge of #44978 - jamesmunns:armv5te-os-atomics, r=alexcrichton
bors Oct 8, 2017
928a295
Auto merge of #44983 - vitiral:dirty_clean_groups, r=michaelwoerister
bors Oct 8, 2017
92a35d9
Rollup merge of #45018 - michaelwoerister:fix-dep-node-debug-recursio…
kennytm Oct 8, 2017
4090e81
Rollup merge of #45042 - brennie:brennie/fmt-trait-summaries, r=steve…
kennytm Oct 8, 2017
c238df1
Rollup merge of #45052 - steveklabnik:gh44105, r=dtolnay
kennytm Oct 8, 2017
761efb3
Rollup merge of #45053 - GuillaumeGomez:atomicbool-doc, r=QuietMisdre…
kennytm Oct 8, 2017
ae54d5e
Rollup merge of #45058 - hunteke:fix_rustc_private_typo_2017Oct, r=sh…
kennytm Oct 8, 2017
48cb6af
Rollup merge of #45060 - topecongiro:semi-in-local-span, r=petrochenkov
kennytm Oct 8, 2017
db202e3
Rollup merge of #45081 - tamird:fmt-cleanup, r=alexcrichton
kennytm Oct 8, 2017
262612c
Rollup merge of #45083 - fhartwig:slice-read-to-end, r=bluss
kennytm Oct 8, 2017
0489497
Rollup merge of #45090 - rust-lang:petrochenkov-patch-1, r=alexcrichton
kennytm Oct 8, 2017
7914e6f
Rollup merge of #45094 - japaric:strict-align, r=alexcrichton
kennytm Oct 8, 2017
f338dba
Auto merge of #45100 - kennytm:rollup, r=kennytm
bors Oct 8, 2017
108706f
Auto merge of #45001 - bgermann:master, r=alexcrichton
bors Oct 8, 2017
ff8e264
Auto merge of #45012 - Gankro:noalias, r=arielb1
bors Oct 8, 2017
f0b6558
make label_strs global
vitiral Oct 6, 2017
86d1e27
tests pass
vitiral Oct 7, 2017
41e58c8
use the Assertion object, passes tests
vitiral Oct 7, 2017
56b7290
cleanup, probably passes tests
vitiral Oct 7, 2017
4df6d31
flushing things out with a struct type
vitiral Oct 7, 2017
45058ac
massive cleanup
vitiral Oct 7, 2017
727d1bd
I'm on a roll
vitiral Oct 7, 2017
3128b2c
I'm on a roll
vitiral Oct 7, 2017
a032ce3
change_to_ufcs: add fixme, unsure if that is expected
vitiral Oct 7, 2017
80d904f
finished call_expressions.rs
vitiral Oct 7, 2017
dc1eeaf
cleanup, use base groups to build them
vitiral Oct 7, 2017
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
  •  
  •  
  •  
4 changes: 2 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,8 @@ matrix:
if: branch = auto
- env: IMAGE=cross DEPLOY=1
if: branch = auto
- env: IMAGE=cross2 DEPLOY=1
if: branch = auto
- env: IMAGE=dist-aarch64-linux DEPLOY=1
if: branch = auto
- env: IMAGE=dist-android DEPLOY=1
Expand All @@ -125,8 +127,6 @@ matrix:
if: branch = auto
- env: IMAGE=dist-armv7-linux DEPLOY=1
if: branch = auto
- env: IMAGE=dist-fuchsia DEPLOY=1
if: branch = auto
- env: IMAGE=dist-i586-gnu-i686-musl DEPLOY=1
if: branch = auto
- env: IMAGE=dist-i686-freebsd DEPLOY=1
Expand Down
34 changes: 31 additions & 3 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# Contributing to Rust
[contributing-to-rust]: #contributing-to-rust

Thank you for your interest in contributing to Rust! There are many ways to
contribute, and we appreciate all of them. This document is a bit long, so here's
Expand All @@ -18,18 +19,20 @@ hop on [#rust-internals][pound-rust-internals].

As a reminder, all contributors are expected to follow our [Code of Conduct][coc].

[pound-rust-internals]: http://chat.mibbit.com/?server=irc.mozilla.org&channel=%23rust-internals
[pound-rust-internals]: https://chat.mibbit.com/?server=irc.mozilla.org&channel=%23rust-internals
[internals]: https://internals.rust-lang.org
[coc]: https://www.rust-lang.org/conduct.html

## Feature Requests
[feature-requests]: #feature-requests

To request a change to the way that the Rust language works, please open an
issue in the [RFCs repository](https://github.com/rust-lang/rfcs/issues/new)
rather than this one. New features and other significant language changes
must go through the RFC process.

## Bug Reports
[bug-reports]: #bug-reports

While bugs are unfortunate, they're a reality in software. We can't fix what we
don't know about, so please report liberally. If you're not sure if something
Expand Down Expand Up @@ -80,6 +83,7 @@ $ RUST_BACKTRACE=1 rustc ...
```

## The Build System
[the-build-system]: #the-build-system

Rust's build system allows you to bootstrap the compiler, run tests &
benchmarks, generate documentation, install a fresh build of Rust, and more.
Expand All @@ -94,6 +98,7 @@ system internals, try asking in [`#rust-internals`][pound-rust-internals].
[bootstrap]: https://github.com/rust-lang/rust/tree/master/src/bootstrap/

### Configuration
[configuration]: #configuration

Before you can start building the compiler you need to configure the build for
your system. In most cases, that will just mean using the defaults provided
Expand Down Expand Up @@ -125,6 +130,11 @@ file. If you still have a `config.mk` file in your directory - from
`./configure` - you may need to delete it for `config.toml` to work.

### Building
[building]: #building

Dependencies
- [build dependencies](README.md#building-from-source)
- `gdb` 6.2.0 minimum, 7.1 or later recommended for test builds

The build system uses the `x.py` script to control the build process. This script
is used to build, test, and document various parts of the compiler. You can
Expand Down Expand Up @@ -194,6 +204,7 @@ Note: Previously `./configure` and `make` were used to build this project.
They are still available, but `x.py` is the recommended build system.

### Useful commands
[useful-commands]: #useful-commands

Some common invocations of `x.py` are:

Expand Down Expand Up @@ -234,6 +245,7 @@ Some common invocations of `x.py` are:
code.

### Using your local build
[using-local-build]: #using-local-build

If you use Rustup to manage your rust install, it has a feature called ["custom
toolchains"][toolchain-link] that you can use to access your newly-built compiler
Expand Down Expand Up @@ -262,6 +274,7 @@ stage 1. `python x.py build --stage 1 src/libstd src/tools/rustdoc` will build
rustdoc and libstd, which will allow rustdoc to be run with that toolchain.)

## Pull Requests
[pull-requests]: #pull-requests

Pull requests are the primary mechanism we use to change Rust. GitHub itself
has some [great documentation][pull-requests] on using the Pull Request feature.
Expand Down Expand Up @@ -326,20 +339,32 @@ it can be found
[here](https://github.com/rust-lang/rust-wiki-backup/blob/master/Note-testsuite.md).

### External Dependencies
[external-dependencies]: #external-dependencies

Currently building Rust will also build the following external projects:

* [clippy](https://github.com/rust-lang-nursery/rust-clippy)
* [miri](https://github.com/solson/miri)

If your changes break one of these projects, you need to fix them by opening
a pull request against the broken project. When you have opened a pull request,
you can disable the tool via `src/tools/toolstate.toml`.
a pull request against the broken project asking to put the fix on a branch.
Then you can disable the tool building via `src/tools/toolstate.toml`.
Once the branch containing your fix is likely to be merged, you can point
the affected submodule at this branch.

Don't forget to also add your changes with

```
git add path/to/submodule
```

outside the submodule.

It can also be more convenient during development to set `submodules = false`
in the `config.toml` to prevent `x.py` from resetting to the original branch.

## Writing Documentation
[writing-documentation]: #writing-documentation

Documentation improvements are very welcome. The source of `doc.rust-lang.org`
is located in `src/doc` in the tree, and standard API documentation is generated
Expand Down Expand Up @@ -370,6 +395,7 @@ reference to `doc/reference.html`. The CSS might be messed up, but you can
verify that the HTML is right.

## Issue Triage
[issue-triage]: #issue-triage

Sometimes, an issue will stay open, even though the bug has been fixed. And
sometimes, the original bug may go stale because something has changed in the
Expand Down Expand Up @@ -437,6 +463,7 @@ If you're looking for somewhere to start, check out the [E-easy][eeasy] tag.
[rfcbot]: https://github.com/dikaiosune/rust-dashboard/blob/master/RFCBOT.md

## Out-of-tree Contributions
[out-of-tree-contributions]: #out-of-tree-contributions

There are a number of other ways to contribute to Rust that don't deal with
this repository.
Expand All @@ -456,6 +483,7 @@ valuable!
[community-library]: https://github.com/rust-lang/rfcs/labels/A-community-library

## Helpful Links and Information
[helpful-info]: #helpful-info

For people new to Rust, and just starting to contribute, or even for
more seasoned developers, some useful places to look for information
Expand Down
12 changes: 12 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,15 @@ standard library, and documentation.
[Rust]: https://www.rust-lang.org

## Quick Start
[quick-start]: #quick-start

Read ["Installation"] from [The Book].

["Installation"]: https://doc.rust-lang.org/book/second-edition/ch01-01-installation.html
[The Book]: https://doc.rust-lang.org/book/index.html

## Building from Source
[building-from-source]: #building-from-source

1. Make sure you have installed the dependencies:

Expand Down Expand Up @@ -52,6 +54,7 @@ Read ["Installation"] from [The Book].
[Cargo]: https://github.com/rust-lang/cargo

### Building on Windows
[building-on-windows]: #building-on-windows

There are two prominent ABIs in use on Windows: the native (MSVC) ABI used by
Visual Studio, and the GNU ABI used by the GCC toolchain. Which version of Rust
Expand All @@ -61,6 +64,7 @@ for interop with GNU software built using the MinGW/MSYS2 toolchain use the GNU
build.

#### MinGW
[windows-mingw]: #windows-mingw

[MSYS2][msys2] can be used to easily build Rust on Windows:

Expand Down Expand Up @@ -101,6 +105,7 @@ build.
```

#### MSVC
[windows-msvc]: #windows-msvc

MSVC builds of Rust additionally require an installation of Visual Studio 2013
(or later) so `rustc` can use its linker. Make sure to check the “C++ tools”
Expand All @@ -124,6 +129,7 @@ python x.py build
```

#### Specifying an ABI
[specifying-an-abi]: #specifying-an-abi

Each specific ABI can also be used from either environment (for example, using
the GNU ABI in powershell) by using an explicit build triple. The available
Expand All @@ -141,6 +147,7 @@ in Building From Source), and modifying the `build` option under the `[build]`
section.

### Configure and Make
[configure-and-make]: #configure-and-make

While it's not the recommended build system, this project also provides a
configure script and makefile (the latter of which just invokes `x.py`).
Expand All @@ -155,6 +162,7 @@ When using the configure script, the generated `config.mk` file may override the
`config.mk` file.

## Building Documentation
[building-documentation]: #building-documentation

If you’d like to build the documentation, it’s almost the same:

Expand All @@ -167,6 +175,7 @@ the ABI used. I.e., if the ABI was `x86_64-pc-windows-msvc`, the directory will
`build\x86_64-pc-windows-msvc\doc`.

## Notes
[notes]: #notes

Since the Rust compiler is written in Rust, it must be built by a
precompiled "snapshot" version of itself (made in an earlier state of
Expand All @@ -192,6 +201,7 @@ There is more advice about hacking on Rust in [CONTRIBUTING.md].
[CONTRIBUTING.md]: https://github.com/rust-lang/rust/blob/master/CONTRIBUTING.md

## Getting Help
[getting-help]: #getting-help

The Rust community congregates in a few places:

Expand All @@ -204,6 +214,7 @@ The Rust community congregates in a few places:
[users.rust-lang.org]: https://users.rust-lang.org/

## Contributing
[contributing]: #contributing

To contribute to Rust, please see [CONTRIBUTING](CONTRIBUTING.md).

Expand All @@ -217,6 +228,7 @@ Rust. And a good place to ask for help would be [#rust-beginners].
[#rust-beginners]: irc://irc.mozilla.org/rust-beginners

## License
[license]: #license

Rust is primarily distributed under the terms of both the MIT license
and the Apache License (Version 2.0), with portions covered by various
Expand Down
100 changes: 99 additions & 1 deletion RELEASES.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,101 @@
Version 1.21.0 (2017-10-12)
==========================

Language
--------
- [Relaxed path syntax. You can now add type parameters to values][43540]
Example:
```rust
my_macro!(Vec<i32>::new); // Always worked
my_macro!(Vec::<i32>::new); // Now works
```
- [You can now use static references for literals.][43838]
Example:
```rust
fn main() {
let x: &'static u32 = &0;
}
```

Compiler
--------
- [Upgraded jemalloc to 4.5.0][43911]
- [Enabled unwinding panics on Redox][43917]
- [Now runs LLVM in parallel during translation phase.][43506]
This should reduce peak memory usage.

Libraries
---------
- [Generate builtin impls for `Clone` for all arrays and tuples that
are `T: Clone`][43690]
- [`Stdin`, `Stdout`, and `Stderr` now implement `AsRawFd`.][43459]
- [`Rc` and `Arc` now implement `From<&[T]> where T: Clone`, `From<str>`,
`From<String>`, `From<Box<T>> where T: ?Sized`, and `From<Vec<T>>`.][42565]

Stabilized APIs
---------------

[`std::mem::discriminant`]

Cargo
-----
- [You can now call `cargo install` with multiple package names][cargo/4216]
- [Cargo commands inside a virtual workspace will now implicitly
pass `--all`][cargo/4335]
- [Added a `[patch]` section to `Cargo.toml` to handle
prepublication dependencies][cargo/4123] [RFC 1969]
- [`include` & `exclude` fields in `Cargo.toml` now accept gitignore
like patterns][cargo/4270]
- [Added the `--all-targets` option][cargo/4400]
- [Using required dependencies as a feature is now deprecated and emits
a warning][cargo/4364]


Misc
----
- [Cargo docs are moving][43916]
to [doc.rust-lang.org/cargo](https://doc.rust-lang.org/cargo)
- [The rustdoc book is now available][43863]
at [doc.rust-lang.org/rustdoc](https://doc.rust-lang.org/rustdoc)
- [Added a preview of RLS has been made available through rustup][44204]
Install with `rustup component add rls-preview`
- [`std::os` documentation for Unix, Linux, and Windows now appears on doc.rust-lang.org][43348]
Previously only showed `std::os::unix`.

Compatibility Notes
-------------------
- [Changes in method matching against higher-ranked types][43880] This may cause
breakage in subtyping corner cases. [A more in-depth explanation is available.][info/43880]
- [rustc's JSON error output's byte position start at top of file.][42973]
Was previously relative to the rustc's internal `CodeMap` struct which
required the unstable library `libsyntax` to correctly use.
- [`unused_results` lint no longer ignores booleans][43728]

[42565]: https://github.com/rust-lang/rust/pull/42565
[42973]: https://github.com/rust-lang/rust/pull/42973
[43348]: https://github.com/rust-lang/rust/pull/43348
[43459]: https://github.com/rust-lang/rust/pull/43459
[43506]: https://github.com/rust-lang/rust/pull/43506
[43540]: https://github.com/rust-lang/rust/pull/43540
[43690]: https://github.com/rust-lang/rust/pull/43690
[43728]: https://github.com/rust-lang/rust/pull/43728
[43838]: https://github.com/rust-lang/rust/pull/43838
[43863]: https://github.com/rust-lang/rust/pull/43863
[43880]: https://github.com/rust-lang/rust/pull/43880
[43911]: https://github.com/rust-lang/rust/pull/43911
[43916]: https://github.com/rust-lang/rust/pull/43916
[43917]: https://github.com/rust-lang/rust/pull/43917
[44204]: https://github.com/rust-lang/rust/pull/44204
[cargo/4123]: https://github.com/rust-lang/cargo/pull/4123
[cargo/4216]: https://github.com/rust-lang/cargo/pull/4216
[cargo/4270]: https://github.com/rust-lang/cargo/pull/4270
[cargo/4335]: https://github.com/rust-lang/cargo/pull/4335
[cargo/4364]: https://github.com/rust-lang/cargo/pull/4364
[cargo/4400]: https://github.com/rust-lang/cargo/pull/4400
[RFC 1969]: https://github.com/rust-lang/rfcs/pull/1969
[info/43880]: https://github.com/rust-lang/rust/issues/44224#issuecomment-330058902
[`std::mem::discriminant`]: https://doc.rust-lang.org/std/mem/fn.discriminant.html

Version 1.20.0 (2017-08-31)
===========================

Expand Down Expand Up @@ -110,7 +208,7 @@ Compatibility Notes
- [Functions with `'static` in their return types will now not be as usable as
if they were using lifetime parameters instead.][42417]
- [The reimplementation of `{f32, f64}::is_sign_{negative, positive}` now
takes the sign of NaN into account where previously didn't.][42430]
takes the sign of NaN into account where previously didn't.][42430]

[42033]: https://github.com/rust-lang/rust/pull/42033
[42155]: https://github.com/rust-lang/rust/pull/42155
Expand Down
Loading