File tree 4 files changed +4
-5
lines changed
tests/fail/function_calls 4 files changed +4
-5
lines changed Original file line number Diff line number Diff line change 1
- 0265a3e93bf1b89d97cae113ed214954d5c35e22
1
+ 538f118da1409759ba198acc0ff62070bc6d2dce
Original file line number Diff line number Diff line change 17
17
//! load to the first, as a result of C++20's coherence-ordered before rules.
18
18
//!
19
19
//! Rust follows the C++20 memory model (except for the Consume ordering and some operations not performable through C++'s
20
- //! std::atomic<T> API). It is therefore possible for this implementation to generate behaviours never observable when the
20
+ //! ` std::atomic<T>` API). It is therefore possible for this implementation to generate behaviours never observable when the
21
21
//! same program is compiled and run natively. Unfortunately, no literature exists at the time of writing which proposes
22
22
//! an implementable and C++20-compatible relaxed memory model that supports all atomic operation existing in Rust. The closest one is
23
23
//! A Promising Semantics for Relaxed-Memory Concurrency by Jeehoon Kang et al. (<https://www.cs.tau.ac.il/~orilahav/papers/popl17.pdf>)
Original file line number Diff line number Diff line change 1
1
#![ feature( rustc_private) ]
2
- #![ feature( map_first_last) ]
3
2
#![ feature( map_try_insert) ]
4
3
#![ feature( never_type) ]
5
4
#![ feature( try_blocks) ]
Original file line number Diff line number Diff line change 1
1
//@revisions: extern_block definition both
2
2
#![ feature( rustc_attrs, c_unwind) ]
3
3
4
- #[ cfg_attr( any( definition, both) , rustc_allocator_nounwind ) ]
4
+ #[ cfg_attr( any( definition, both) , rustc_nounwind ) ]
5
5
#[ no_mangle]
6
6
extern "C-unwind" fn nounwind ( ) {
7
7
//[definition]~^ ERROR: abnormal termination: the program aborted execution
@@ -11,7 +11,7 @@ extern "C-unwind" fn nounwind() {
11
11
12
12
fn main ( ) {
13
13
extern "C-unwind" {
14
- #[ cfg_attr( any( extern_block, both) , rustc_allocator_nounwind ) ]
14
+ #[ cfg_attr( any( extern_block, both) , rustc_nounwind ) ]
15
15
fn nounwind ( ) ;
16
16
}
17
17
unsafe { nounwind ( ) }
You can’t perform that action at this time.
0 commit comments