update to rustc 1.98#612
Conversation
92c6cd5 to
442f98b
Compare
442f98b to
0e0dc17
Compare
|
Going from working The only two PRs that change anything in rustc_codegen_ssa in that range are:
UPDATE: We can fix the compiletests by just removing this flag: - "-Cdebuginfo=2",This flag is responsible for controlling debug symbol emission, 2 means all the debug symbols and it defaults to 0 (I think) meaning none. How the hell does turning on debug symbol emission cause fundamental compilation errors?
fn create_function_debug_context(
&self,
_instance: Instance<'tcx>,
_fn_abi: &FnAbi<'tcx, Ty<'tcx>>,
_llfn: Self::Function,
_mir: &mir::Body<'tcx>,
) -> Option<FunctionDebugContext<'tcx, Self::DIScope, Self::DILocation>> {
// TODO: This is ignored. Do we want to implement this at some point?
None
}
I beliebe the fix I made here is only a temporary fix, I suspect any debug build of sufficient complexity will fail. Don't yet know what to do about that. |
a05ddca to
7df0ab3
Compare
7df0ab3 to
f9b1b4c
Compare
f9b1b4c to
a6bf7bf
Compare
|
Instead of opting out compiletests from debug info, I decided to just patch out the newest changes to debuginfo emission |
Requires #610
Warning
This is an in-the-middle nightly
Notable changes:
ScalarPairsare passed byPassMode::ScalarPairexclusively. But rust-gpu readjusts the fn abi here to pass any non-sliceScalarPairasPassMode::Direct. Removing this ABI change breaks a bunch of code in all kinds of weird ways, primarilyByteAddressableBufferintrinsics andpanic!()format args decompiler complaining about function pointers and pointer casts. It's just that rust-gpu can't properly handlePassMode::ScalarPairin so many places... So we'll keep our abi adjustments and I just undo that upstream cleanup.close #605