Michael Woerister
c96d0bff94
incr.comp.: Fix some merge fallout.
2017-10-03 13:50:55 +02:00
Philip Craig
9bbd7a3b3f
Add fixme regarding remapping paths for doctests
2017-10-03 20:36:53 +10:00
Suriyaa ✌️️
2d108ec00b
Use HTTPS protocol for chat.mibbit.com
2017-10-03 12:36:16 +02:00
Philip Craig
3a225c77bb
Rename FileMap::path and change to an Option
2017-10-03 19:47:33 +10:00
bors
61bad301f1
Auto merge of #44920 - vi:rustdoc_implementors_src_link, r=GuillaumeGomez
...
rustdoc: Render [src] links for trait implementors
Should close #43893 .
<s>No tests [yet].</s>
r? @QuietMisdreavus
2017-10-03 08:04:33 +00:00
bors
67ed4891db
Auto merge of #44966 - zackmdavis:no_mangle_no_snake, r=aturon
...
make non_snake_case lint allow extern no-mangle functions
Resolves #31924 .
r? @sfackler
2017-10-03 02:26:27 +00:00
leonardo.yvens
bb74c20a5d
Inline eq_slice into str::eq
...
It's the only use of the function.
2017-10-02 22:04:23 -03:00
bors
bdcb7fbbca
Auto merge of #44977 - steveklabnik:update-mdbook, r=alexcrichton
...
update mdbook
Fixes #44704
2017-10-02 22:39:51 +00:00
Federico Mena Quintero
d989cd02b5
Fix broken links in documentation
2017-10-02 15:46:10 -05:00
Felix S. Klock II
17f6b6810b
Remove assertion that the argument to every EndRegion
correspond to
...
some dataflow-tracked borrow-data entry.
Fix #44828
(The comment thread on the aforementioned issue discusses why its best
to just remove this assertion.)
2017-10-02 22:40:51 +02:00
Federico Mena Quintero
50505aadbd
Clarify the ffi module's toplevel docs, per @clarcharr's comments
2017-10-02 14:16:37 -05:00
Pirh
28ef0d1085
Document that process::abort will not call the panic hook
2017-10-02 19:59:50 +01:00
Federico Mena Quintero
9854e836a3
Remove the implication that CString contains UTF-8 data.
2017-10-02 13:53:50 -05:00
bors
185cc5f26d
Auto merge of #44885 - lu-zero:master, r=alexcrichton
...
More Altivec Intrinsics
Float-specific intrinsics
2017-10-02 17:18:20 +00:00
steveklabnik
851b6d4762
update books for next release
...
Also fixes some stdlib links to the reference which have changed.
2017-10-02 12:07:28 -04:00
hinaria
a5296a5fb2
windows: make backtrace = false
compile
2017-10-03 02:48:17 +11:00
James Munns
1e26094bdd
Allow atomic operations up to 32 bits
...
The ARMv5te platform does not have instruction-level support for atomics, however the kernel provides [user space helpers](https://www.kernel.org/doc/Documentation/arm/kernel_user_helpers.txt ) which can be used to perform atomic operations. When linked with `libc`, the atomic symbols needed by Rust will be provided, rather than CPU level intrinsics.
As this target is specifically `linux` and `gnueabi`, it is reasonable to assume the Linux Kernel and libc will be available for the target. There is a large performance penalty, as we are not using CPU level intrinsics, however this penalty is likely preferable to not having the target at all.
I have used this change in a custom target (along with `xargo`) to build `std`, as well as a number of higher level crates.
2017-10-02 16:53:43 +02:00
steveklabnik
1bbf41da6f
update mdbook
...
Fixes #44704
2017-10-02 10:16:32 -04:00
Michael Woerister
dbab705f04
incr.comp.: Do some cleanup.
2017-10-02 16:09:23 +02:00
Michael Woerister
df06a7e532
incr.comp.: Remove legacy dep-graph runtime.
2017-10-02 16:09:19 +02:00
Vitaly _Vi Shukela
acef039de8
rustdoc: Remove cruft from the test
...
per @GuillaumeGomez's sample, but with one change.
2017-10-02 16:54:35 +03:00
Michael Woerister
171c020857
incr.comp.: Remove saving and loading of legacy dep-graph.
2017-10-02 15:47:11 +02:00
Michael Woerister
272c324b25
incr.comp.: Build DepGraphQuery from new dep-graph impl.
2017-10-02 15:45:46 +02:00
Michael Woerister
e6badfd449
incr.comp.: Use red/green tracking for CGU re-use.
2017-10-02 15:45:46 +02:00
Michael Woerister
c9a17ef174
incr.comp.: Add some logging to DepGraph::try_mark_green().
2017-10-02 15:38:57 +02:00
Michael Woerister
e1994bd27b
incr.comp.: Make some DepNodes non-anonymous.
2017-10-02 15:38:57 +02:00
Michael Woerister
f0bbf4e1f2
incr.comp.: Re-execute queries during red/green marking in order to find out their color.
2017-10-02 15:38:57 +02:00
Michael Woerister
6db27d9f90
incr.comp.: Add minimal version of try_mark_green procedure.
2017-10-02 15:36:47 +02:00
Michael Woerister
a948be81cd
incr.comp.: Determine red/green state of every new node.
2017-10-02 15:36:47 +02:00
Alex Burka
fc5e8dc1b5
fix comment on DefaultImpl
2017-10-02 07:30:09 -04:00
bors
0f0f5db465
Auto merge of #44959 - arielb1:generic-errors, r=eddyb
...
handle nested generics in Generics::type_param/region_param
Fixes #44952 .
r? @eddyb
2017-10-02 10:06:32 +00:00
Alex Burka
5517a1ce79
fix ItemKind::DefaultImpl doc comment
...
Upgrade comment to doc comment.
2017-10-02 05:59:56 -04:00
Ariel Ben-Yehuda
706e52e2cc
fix handling of Self
2017-10-02 10:43:36 +02:00
bors
9ae6ed78ac
Auto merge of #44942 - zackmdavis:lint_suggestions, r=estebank
...
code suggestions for unused-mut, while-true, deprecated-attribute, and unused-parens lints

r? @estebank
2017-10-02 07:03:26 +00:00
Zack M. Davis
8a14022c5d
correct unused-parens lint suggestion to strip exact pair
2017-10-01 20:15:24 -07:00
QuietMisdreavus
23f5fbee45
document trait impls when the type appears in the trait's generics
2017-10-01 21:25:48 -05:00
bors
2146c613d1
Auto merge of #44960 - SeanPrashad:master, r=steveklabnik
...
Resolves #36284 - vec.rs documentation
Removed comments associated with `[into_vec]` being equivalent to `[shrink_to_fit]` as requested.
2017-10-02 02:17:14 +00:00
Zack M. Davis
b989101a55
make non_snake_case lint allow extern no-mangle functions
...
Resolves #31924 .
2017-10-01 17:20:06 -07:00
Michal Budzynski
e6c3c7f2dc
Corrected the CONTRIBUTING.md "External Dependencies" section
2017-10-02 00:18:19 +02:00
bors
a4af9309d0
Auto merge of #44955 - laumann:small-typo-fix, r=steveklabnik
...
Fix typo: geneartor -> generator
2017-10-01 22:16:04 +00:00
Ariel Ben-Yehuda
ad9986605f
fix handling of Self
2017-10-01 23:03:48 +02:00
bors
f1b5225e8b
Auto merge of #44919 - diwic:79-pretty-mir, r=arielb1
...
Mir pretty print: Add cleanup comment
I found it useful to add a comment indicating whether or not a
BasicBlock is a cleanup block or not. Hopefully you'll find it
useful too.
2017-10-01 19:57:01 +00:00
bors
cef4a3ebfa
Auto merge of #44897 - Havvy:doc-size_of, r=steveklabnik
...
Docs for size_of::<#[repr(C)]> items.
Most of this info comes from camlorn's blog post on optimizing struct layout and the Rustonomicon.
I don't really like my wording in the first paragraph.
I also cannot find a definition of what `#[repr(C)]` does for enums that have variants with fields. They're allowed, unlike `#[repr(C)] enum`s with no variants.
2017-10-01 17:32:34 +00:00
Joshua Lockerman
68341a91ee
Improve performance of spsc_queue and stream.
...
This commit makes two main changes.
1. It switches the spsc_queue node caching strategy from keeping a shared
counter of the number of nodes in the cache to keeping a consumer only counter
of the number of node eligible to be cached.
2. It separate the consumer and producers fields of spsc_queue and stream into
a producer cache line and consumer cache line.
2017-10-01 12:15:35 -04:00
Sean Prashad
1ebc7bba79
Resolves #36284 - vec.rs documentation
2017-10-01 12:15:05 -04:00
Ariel Ben-Yehuda
622a78cd54
handle nested generics in Generics::type_param/region_param
...
Fixes #44952 .
2017-10-01 17:15:15 +02:00
Douglas Campos
11e141eba3
stray comma
2017-10-01 11:14:47 -04:00
Thomas Jespersen
30b19c9e8b
Fix typo: geneartor -> generator
2017-10-01 15:40:00 +02:00
bors
3651cddc44
Auto merge of #44945 - petrochenkov:fixtyrec, r=arielb1
...
Do not require semantic types for all syntactic types when there are errors
Fixes https://github.com/rust-lang/rust/issues/44814
Fixes https://github.com/rust-lang/rust/issues/44858
Fixes https://github.com/rust-lang/rust/issues/44946
r? @nikomatsakis
2017-10-01 13:26:15 +00:00
Vitaly _Vi Shukela
67c9af590d
rustdoc: Style of [src] link for trait implementors
...
A change suggested by @GuillaumeGomez and @QuietMisdreavus.
Also slight reindenting of the appropriate CSS section.
2017-10-01 16:20:56 +03:00