Skip to content

Commit

Permalink
[TESTS] commented out jit absolute adr test cuz it is unsuported
Browse files Browse the repository at this point in the history
  • Loading branch information
Cr0a3 committed Oct 26, 2024
1 parent 0ac65ae commit 600d2bf
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 2 additions & 0 deletions src/Target/x64/abs_jit.rs
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,8 @@ impl AbsSymDealer for X64AbsSymDealer {
for fix in fixup {
code.insert(pos - bytes_to_remove, fix);
}

todo!("unsupported");
}

fn dbg(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
Expand Down
5 changes: 4 additions & 1 deletion tests/jit.rs
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,9 @@ pub fn call() -> Result<(), Box<dyn Error>> {

Ok(())
}
/*
// NOT YET SUPPORTED
#[no_mangle]
extern "C" fn custom_func(ls: i32, rs: i32) -> i32 {
Expand Down Expand Up @@ -105,4 +108,4 @@ pub fn extern_symbol() -> Result<(), Box<dyn Error>> {
}
Ok(())
}
}*/

0 comments on commit 600d2bf

Please sign in to comment.