Ariel Ben-Yehuda
Ariel Ben-Yehuda
If the relevant 7 hex-digits of a commit are all decimal (this occurs about 1 in 25 times) the commit can't be r+-ed. See for example rust-lang/rust#29408 and rust-lang/rust#29398.
# WARNING: I'm not sure what incantation is needed so that bors try will find this commit, but this should NOT be merged into Rust's LLVM repo until we do...
Destructors can invalidate borrows of their contents: ```Rust struct VecWrapper { fn drop(&mut self) { *self.0 = Box::new(0); } } fn get_dangling) -> &'a u32 { let s_inner: &'a Box...
Moved from a comment on #40 and modified. @nikomatsakis had discovered the following interaction: ```Rust fn foo() { let x = Box::new(RefCell::new(42)); let ref_x: &'α RefCell = &x; let inner_ref:...
"NLL" is a kind of an umbrella proposal for all kinds of extensions to Rust's lifetime system (actually, it's worse - several independent *borrow-checking*/*typesystem* extensions are also a part of...
The NLL RFC does not include any description of 2-phase borrows, which are required in order to enable nested method calls aka rust-lang/rfcs#2025: ```Rust x.push(x.len()); ``` Or the MIR equivalent...
This would be useful for rust-lang/rfcs#2102: ```Rust #[repr(C)] pub union _Bindgen_somestruct_Field_0 { pad_binder: binder_uintptr_t, fd: u32 } #[repr(C)] pub union _Bindgen_somestruct_Field_target { handle: u32, ptr: binder_uintptr_t, } #[repr(C)] pub struct...
Currently, `spawn_blocking` allows queueing, but there is no metric that allows you to measure the latency (in wall clock time), which can make high spawn_blocking latency hard to monitor. A...
## Motivation and Context Previously to this CR, many Smithy packages, including , did not declare their MSRV. This causes problems because the Cargo MSRV-aware resolver is by design not...
This implements `-Z allow-partial-mitigations` as an unstable option, currently with support for control-flow-guard and stack-protector. As a difference from the RFC, we have `-Z allow-partial-mitigations=!foo` rather than `-Z deny-partial-mitigations=foo`, since...