File tree 4 files changed +4
-6
lines changed
4 files changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -258,7 +258,7 @@ pub(crate) struct CrateRoot {
258
258
panic_in_drop_strategy : PanicStrategy ,
259
259
edition : Edition ,
260
260
261
- // TODO : these booleans can be replaced by the entries in `externally_implementable_items`
261
+ // FIXME(jdonszelmann) : these booleans can be replaced by the entries in `externally_implementable_items`
262
262
has_global_allocator : bool ,
263
263
has_alloc_error_handler : bool ,
264
264
has_default_lib_allocator : bool ,
Original file line number Diff line number Diff line change @@ -108,7 +108,7 @@ bitflags::bitflags! {
108
108
/// `#[no_mangle]`: an indicator that the function's name should be the same
109
109
/// as its symbol.
110
110
const NO_MANGLE = 1 << 5 ;
111
- // TODO : EIIs can replace this, most likely
111
+ // FIXME(jdonszelmann) : EIIs can replace this, most likely
112
112
/// `#[rustc_std_internal_symbol]`: an indicator that this symbol is a
113
113
/// "weird symbol" for the standard library in that it has slightly
114
114
/// different linkage, visibility, and reachability rules.
Original file line number Diff line number Diff line change @@ -1535,7 +1535,7 @@ impl<'v> RootCollector<'_, 'v> {
1535
1535
1536
1536
self . entry_fn . and_then ( |( id, _) | id. as_local ( ) ) == Some ( def_id)
1537
1537
|| self . tcx . is_reachable_non_generic ( def_id)
1538
- // TODO : EII might remove this:
1538
+ // FIXME(jdonszelmann) : EII might remove this:
1539
1539
|| cfa
1540
1540
. flags
1541
1541
. contains ( CodegenFnAttrFlags :: RUSTC_STD_INTERNAL_SYMBOL )
Original file line number Diff line number Diff line change @@ -770,8 +770,6 @@ fn mono_item_linkage_and_visibility<'tcx>(
770
770
// libraries. And shared libraries may later be linked together, both implementing the EII.
771
771
// This conflicting implementations may show up. We want to ignore this and just link em
772
772
// together anyway. LLVM ensures the last one is the one that's chosen
773
- // TODO: this isn't the problem if they both decided to choose either the default or the
774
- // same explicit impl but if their view on it differs it is a problem!
775
773
if let MonoItem :: Fn ( Instance { def : InstanceKind :: EiiShim { weak_linkage, .. } , .. } ) =
776
774
mono_item
777
775
{
@@ -947,7 +945,7 @@ fn mono_item_visibility<'tcx>(
947
945
// LLVM internalize them as this decision is left up to the linker to
948
946
// omit them, so prevent them from being internalized.
949
947
let attrs = tcx. codegen_fn_attrs ( def_id) ;
950
- // TODO : EII might replace this
948
+ // FIXME(jdonszelmann) : EII might replace this
951
949
if attrs. flags . contains ( CodegenFnAttrFlags :: RUSTC_STD_INTERNAL_SYMBOL ) {
952
950
* can_be_internalized = false ;
953
951
}
You can’t perform that action at this time.
0 commit comments