Add an assert on an implemented feature rather than letting it silently fail.
This commit is contained in:
@@ -189,7 +189,10 @@ fn relocate(
|
||||
write_unaligned(reloc_address as *mut i32, reloc_delta_i32);
|
||||
}
|
||||
}
|
||||
// TODO: deal with jumptable relocations
|
||||
assert!(
|
||||
relocs.jts.is_empty(),
|
||||
"TODO: deal with jumptable relocations"
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user