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

Rollup of 14 pull requests #53049

Closed
wants to merge 42 commits into from
Closed
Changes from 2 commits
Commits
Show all changes
42 commits
Select commit Hold shift + click to select a range
8642412
Update libc and activate align feature
faern Jul 17, 2018
2b5fc66
Make Ipv{4,6}Addr::new const fns
faern Jul 19, 2018
0d2f96e
Move IPs to assoc consts
faern Jul 20, 2018
798680a
Add Ipv4Addr BROADCAST assoc const
faern Jul 29, 2018
312cdb4
Simplify is_broadcast
faern Jul 29, 2018
0da7da8
Align 6-week cycle check with beta promotion instead of stable release.
kennytm Aug 1, 2018
66a4718
rustbuild: fix local_rebuild
Keruspe Aug 2, 2018
0217459
Update LLVM submodule to 7.0
alexcrichton Aug 2, 2018
f3733a2
make `everybody_loops` keep item declarations
QuietMisdreavus Aug 2, 2018
3a93e91
Remove unnecessary local in await! macro
cramertj Aug 2, 2018
8df498b
more fixes for everybody_loops
QuietMisdreavus Aug 2, 2018
d6a7a3c
add rustdoc test for `everybody_loops` fix
QuietMisdreavus Aug 2, 2018
dda85ab
Stabilize --color and --error-format options in rustdoc
GuillaumeGomez Aug 2, 2018
23bdc82
RELEASES.md: fix the `hash_map::Entry::or_default` link
cuviper Aug 2, 2018
4471537
make TinyList more readable and optimize remove(_)
llogiq Aug 2, 2018
7e77d19
preserve order if blocks are between items
QuietMisdreavus Aug 2, 2018
71460d4
volatile operations docs: clarify that this does not help wrt. concur…
RalfJung Aug 3, 2018
94de821
Specify reentrancy gurantees of `Once::call_once`
matklad Aug 3, 2018
a2f9aaf
Fix trailnig WS
matklad Aug 3, 2018
d4beeca
Move validate_crate_name to rustc_metadata
Mark-Simulacrum Jul 31, 2018
cc1a6b9
Delete dummy crate store
Mark-Simulacrum Jul 31, 2018
eb0bc64
Visibility is now a query
Mark-Simulacrum Jul 31, 2018
5aec365
Store concrete crate stores where possible
Mark-Simulacrum Jul 31, 2018
6fdd6f6
Move unused trait functions to inherent functions
Mark-Simulacrum Jul 31, 2018
e2cda7d
Fix invalid code css rule
GuillaumeGomez Aug 3, 2018
903851f
Highlight closure spans for borrow and initialization errors
matthewjasper Aug 1, 2018
5639e21
Tests for closure spans
matthewjasper Aug 1, 2018
12af36a
Update tests for new spans for nll errors involving closures
matthewjasper Aug 1, 2018
a233ec8
Rollup merge of #52872 - faern:use-modern-alignment-libc, r=TimNN
cramertj Aug 3, 2018
4043448
Rollup merge of #52927 - Mark-Simulacrum:cratestore-cleanup, r=alexcr…
cramertj Aug 3, 2018
44a668b
Rollup merge of #52940 - kennytm:move-checktool-protection-week, r=al…
cramertj Aug 3, 2018
1923e0b
Rollup merge of #52959 - matthewjasper:closure-spans, r=pnkfelix
cramertj Aug 3, 2018
1c35e52
Rollup merge of #52969 - Keruspe:local_rebuild, r=alexcrichton
cramertj Aug 3, 2018
a635638
Rollup merge of #52983 - alexcrichton:update-llvm, r=kennytm
cramertj Aug 3, 2018
e44c046
Rollup merge of #52995 - cramertj:smaller-await, r=withoutboats
cramertj Aug 3, 2018
65e39b8
Rollup merge of #52996 - cuviper:1.28-or_default, r=Mark-Simulacrum
cramertj Aug 3, 2018
e492215
Rollup merge of #52997 - llogiq:tiny-list-opt, r=varkor
cramertj Aug 3, 2018
e764022
Rollup merge of #53002 - QuietMisdreavus:brother-may-i-have-some-loop…
cramertj Aug 3, 2018
6df26f4
Rollup merge of #53003 - GuillaumeGomez:stabilize-rustdoc-options, r=…
cramertj Aug 3, 2018
5ffeaa8
Rollup merge of #53022 - RalfJung:volatile, r=alexcrichton
cramertj Aug 3, 2018
0fbfdf6
Rollup merge of #53024 - matklad:patch-1, r=alexcrichton
cramertj Aug 3, 2018
290f9e9
Rollup merge of #53041 - GuillaumeGomez:fix-code-css-rule, r=QuietMis…
cramertj Aug 3, 2018
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 30 additions & 0 deletions src/libcore/ptr.rs
Original file line number Diff line number Diff line change
@@ -448,6 +448,12 @@ pub unsafe fn write_unaligned<T>(dst: *mut T, src: T) {
/// `write_bytes`, or `copy`). Note that `*src = foo` counts as a use
/// because it will attempt to drop the value previously at `*src`.
///
/// Just like in C, whether an operation is volatile has no bearing whatsoever
/// on questions involving concurrent access from multiple threads. Volatile
/// accesses behave exactly like non-atomic accesses in that regard. In particular,
/// a race between a `read_volatile` and any write operation to the same location
/// is undefined behavior.
///
/// # Examples
///
/// Basic usage:
@@ -498,6 +504,12 @@ pub unsafe fn read_volatile<T>(src: *const T) -> T {
/// This is appropriate for initializing uninitialized memory, or overwriting
/// memory that has previously been `read` from.
///
/// Just like in C, whether an operation is volatile has no bearing whatsoever
/// on questions involving concurrent access from multiple threads. Volatile
/// accesses behave exactly like non-atomic accesses in that regard. In particular,
/// a race between a `write_volatile` and any other operation (reading or writing)
/// on the same location is undefined behavior.
///
/// # Examples
///
/// Basic usage:
@@ -1057,6 +1069,12 @@ impl<T: ?Sized> *const T {
/// `write_bytes`, or `copy`). Note that `*self = foo` counts as a use
/// because it will attempt to drop the value previously at `*self`.
///
/// Just like in C, whether an operation is volatile has no bearing whatsoever
/// on questions involving concurrent access from multiple threads. Volatile
/// accesses behave exactly like non-atomic accesses in that regard. In particular,
/// a race between a `read_volatile` and any write operation to the same location
/// is undefined behavior.
///
/// # Examples
///
/// Basic usage:
@@ -1790,6 +1808,12 @@ impl<T: ?Sized> *mut T {
/// `write_bytes`, or `copy`). Note that `*self = foo` counts as a use
/// because it will attempt to drop the value previously at `*self`.
///
/// Just like in C, whether an operation is volatile has no bearing whatsoever
/// on questions involving concurrent access from multiple threads. Volatile
/// accesses behave exactly like non-atomic accesses in that regard. In particular,
/// a race between a `read_volatile` and any write operation to the same location
/// is undefined behavior.
///
/// # Examples
///
/// Basic usage:
@@ -2105,6 +2129,12 @@ impl<T: ?Sized> *mut T {
/// This is appropriate for initializing uninitialized memory, or overwriting
/// memory that has previously been `read` from.
///
/// Just like in C, whether an operation is volatile has no bearing whatsoever
/// on questions involving concurrent access from multiple threads. Volatile
/// accesses behave exactly like non-atomic accesses in that regard. In particular,
/// a race between a `write_volatile` and any other operation (reading or writing)
/// on the same location is undefined behavior.
///
/// # Examples
///
/// Basic usage: