File tree 6 files changed +6
-14
lines changed
6 files changed +6
-14
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 @@ -1555,7 +1555,7 @@ impl<'v> RootCollector<'_, 'v> {
1555
1555
1556
1556
self . entry_fn . and_then ( |( id, _) | id. as_local ( ) ) == Some ( def_id)
1557
1557
|| self . tcx . is_reachable_non_generic ( def_id)
1558
- // TODO : EII might remove this:
1558
+ // FIXME(jdonszelmann) : EII might remove this:
1559
1559
|| cfa
1560
1560
. flags
1561
1561
. contains ( CodegenFnAttrFlags :: RUSTC_STD_INTERNAL_SYMBOL )
Original file line number Diff line number Diff line change @@ -773,8 +773,6 @@ fn mono_item_linkage_and_visibility<'tcx>(
773
773
// libraries. And shared libraries may later be linked together, both implementing the EII.
774
774
// This conflicting implementations may show up. We want to ignore this and just link em
775
775
// together anyway. LLVM ensures the last one is the one that's chosen
776
- // TODO: this isn't the problem if they both decided to choose either the default or the
777
- // same explicit impl but if their view on it differs it is a problem!
778
776
if let MonoItem :: Fn ( Instance { def : InstanceKind :: EiiShim { weak_linkage, .. } , .. } ) =
779
777
mono_item
780
778
{
@@ -951,7 +949,7 @@ fn mono_item_visibility<'tcx>(
951
949
// LLVM internalize them as this decision is left up to the linker to
952
950
// omit them, so prevent them from being internalized.
953
951
let attrs = tcx. codegen_fn_attrs ( def_id) ;
954
- // TODO : EII might replace this
952
+ // FIXME(jdonszelmann) : EII might replace this
955
953
if attrs. flags . contains ( CodegenFnAttrFlags :: RUSTC_STD_INTERNAL_SYMBOL ) {
956
954
* can_be_internalized = false ;
957
955
}
Original file line number Diff line number Diff line change @@ -775,12 +775,6 @@ passes_unexportable_type_in_interface = {$desc} with `#[export_stable]` attribut
775
775
776
776
passes_unexportable_type_repr = types with unstable layout are not exportable
777
777
778
- passes_undefined_naked_function_abi =
779
- Rust ABI is unsupported in naked functions
780
-
781
- passes_unknown_external_lang_item =
782
- unknown external lang item: `{ $lang_item } `
783
-
784
778
passes_unknown_feature =
785
779
unknown feature `{ $feature } `
786
780
Original file line number Diff line number Diff line change @@ -189,8 +189,8 @@ pub(crate) fn get_externally_implementable_item_impls<'tcx>(
189
189
CRATE_DEF_ID ,
190
190
Some ( Symbol :: intern ( & format ! ( "EII shim for {decl_did:?}" ) ) ) ,
191
191
DefKind :: Fn ,
192
- None ,
193
- & mut DisambiguatorState :: new ( ) ,
192
+ None ,
193
+ & mut DisambiguatorState :: new ( ) ,
194
194
) ;
195
195
196
196
let extern_item_did = decl. eii_extern_item ;
You can’t perform that action at this time.
0 commit comments