This commit is contained in:
Folkert 2022-11-10 23:11:22 +01:00
parent 761891a5a1
commit 9840cd53df
No known key found for this signature in database
GPG key ID: 1F17F6FFD112B97C

View file

@ -428,8 +428,6 @@ pub(crate) fn surgery_pe(executable_path: &Path, metadata_path: &Path, roc_app_b
);
}
dbg!(&name);
match relocation.kind() {
object::RelocationKind::Relative => {
// we implicitly only do 32-bit relocations
@ -1934,4 +1932,13 @@ mod test {
fn preprocessing_wine() {
assert_eq!("Hello there\n", wine_test(preprocessing_help))
}
#[test]
fn rust_app_data() {
let data = include_bytes!("/tmp/roc/echo.obj");
AppSections::from_data(data);
panic!();
}
}