You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Remove the Cell from the field source_locations_enabled and adapt several functions to take a mutable reference to FunctionDebugContext{,Data} instead.
This is a list of things I noticed in
rustc_codegen_{utils,ssa}which I did like to be changed.rustc_codegen_ssa.debuginfo_disabled_messageandshould_be_ignored_messageintoas_ref.Cellfrom the fieldsource_locations_enabledand adapt several functions to take a mutable reference toFunctionDebugContext{,Data}instead.Edit:
Contextis not used insiderustc_codegen_ssahttps://doc.rust-lang.org/nightly/nightly-rustc/rustc_codegen_ssa/traits/type_/trait.BaseTypeMethods.htmlhttps://doc.rust-lang.org/nightly/nightly-rustc/rustc_codegen_llvm/context/struct.CodegenCx.html#method.set_struct_body Why isset_struct_bodyeven a thing?Edit: update for current status