File tree 8 files changed +0
-41
lines changed
8 files changed +0
-41
lines changed Original file line number Diff line number Diff line change 312
312
#![ feature( needs_panic_runtime) ]
313
313
#![ feature( negative_impls) ]
314
314
#![ feature( never_type) ]
315
- #![ feature( no_sanitize) ]
316
315
#![ feature( optimize_attribute) ]
317
316
#![ feature( prelude_import) ]
318
317
#![ feature( rustc_attrs) ]
Original file line number Diff line number Diff line change @@ -259,9 +259,6 @@ impl FileDesc {
259
259
}
260
260
261
261
#[ cfg( all( target_os = "android" , target_pointer_width = "32" ) ) ]
262
- // FIXME(#115199): Rust currently omits weak function definitions
263
- // and its metadata from LLVM IR.
264
- #[ no_sanitize( cfi) ]
265
262
pub fn read_vectored_at ( & self , bufs : & mut [ IoSliceMut < ' _ > ] , offset : u64 ) -> io:: Result < usize > {
266
263
weak ! (
267
264
fn preadv64(
Original file line number Diff line number Diff line change @@ -1463,20 +1463,6 @@ impl File {
1463
1463
Ok ( ( ) )
1464
1464
}
1465
1465
1466
- // FIXME(#115199): Rust currently omits weak function definitions
1467
- // and its metadata from LLVM IR.
1468
- #[ cfg_attr(
1469
- any(
1470
- target_os = "android" ,
1471
- all(
1472
- target_os = "linux" ,
1473
- target_env = "gnu" ,
1474
- target_pointer_width = "32" ,
1475
- not( target_arch = "riscv32" )
1476
- )
1477
- ) ,
1478
- no_sanitize( cfi)
1479
- ) ]
1480
1466
pub fn set_times ( & self , times : FileTimes ) -> io:: Result < ( ) > {
1481
1467
#[ cfg( not( any(
1482
1468
target_os = "redox" ,
Original file line number Diff line number Diff line change @@ -194,9 +194,6 @@ impl Thread {
194
194
}
195
195
196
196
#[ cfg( any( target_os = "solaris" , target_os = "illumos" , target_os = "nto" ) ) ]
197
- // FIXME(#115199): Rust currently omits weak function definitions
198
- // and its metadata from LLVM IR.
199
- #[ no_sanitize( cfi) ]
200
197
pub fn set_name ( name : & CStr ) {
201
198
weak ! (
202
199
fn pthread_setname_np(
Original file line number Diff line number Diff line change @@ -96,17 +96,6 @@ impl Timespec {
96
96
}
97
97
}
98
98
99
- // FIXME(#115199): Rust currently omits weak function definitions
100
- // and its metadata from LLVM IR.
101
- #[ cfg_attr(
102
- all(
103
- target_os = "linux" ,
104
- target_env = "gnu" ,
105
- target_pointer_width = "32" ,
106
- not( target_arch = "riscv32" )
107
- ) ,
108
- no_sanitize( cfi)
109
- ) ]
110
99
pub fn now ( clock : libc:: clockid_t ) -> Timespec {
111
100
use crate :: mem:: MaybeUninit ;
112
101
use crate :: sys:: cvt;
Original file line number Diff line number Diff line change @@ -155,9 +155,6 @@ unsafe fn fetch(name: &str) -> *mut libc::c_void {
155
155
#[ cfg( not( any( target_os = "linux" , target_os = "android" ) ) ) ]
156
156
pub ( crate ) macro syscall {
157
157
( fn $name: ident( $( $param: ident : $t: ty) , * $( , ) ?) -> $ret: ty; ) => (
158
- // FIXME(#115199): Rust currently omits weak function definitions
159
- // and its metadata from LLVM IR.
160
- #[ no_sanitize( cfi) ]
161
158
unsafe fn $name( $( $param: $t) , * ) -> $ret {
162
159
weak ! ( fn $name( $( $param: $t) , * ) -> $ret; ) ;
163
160
Original file line number Diff line number Diff line change @@ -434,9 +434,6 @@ impl Command {
434
434
target_os = "nto" ,
435
435
target_vendor = "apple" ,
436
436
) ) ]
437
- // FIXME(#115199): Rust currently omits weak function definitions
438
- // and its metadata from LLVM IR.
439
- #[ cfg_attr( target_os = "linux" , no_sanitize( cfi) ) ]
440
437
fn posix_spawn (
441
438
& mut self ,
442
439
stdio : & ChildPipes ,
Original file line number Diff line number Diff line change 12
12
13
13
use crate :: mem:: transmute;
14
14
15
- // FIXME: The Rust compiler currently omits weakly function definitions (i.e.,
16
- // __cxa_thread_atexit_impl) and its metadata from LLVM IR.
17
- #[ no_sanitize( cfi, kcfi) ]
18
15
pub unsafe fn register ( t : * mut u8 , dtor : unsafe extern "C" fn ( * mut u8 ) ) {
19
16
/// This is necessary because the __cxa_thread_atexit_impl implementation
20
17
/// std links to by default may be a C or C++ implementation that was not
You can’t perform that action at this time.
0 commit comments