Commit f12e2975 authored by qinsoon's avatar qinsoon

fixing binop tests. The following are still not working:

shl, shr, xor, and. Need to deal with large constant which cannot be fit
as instruction immediate (32bits)
parent a241c754
Pipeline #86 failed with stage
in 21 minutes and 8 seconds
......@@ -20,7 +20,7 @@ fn test_u8_add() {
let lib = testutil::compile_fnc("u8_add", &u8_add);
unsafe {
let u8_add : libloading::Symbol<unsafe extern fn(u8, u8) -> u8> = lib.get(b"u8_add").unwrap();
let u8_add : libloading::Symbol<unsafe extern fn(u8, u8) -> u64> = lib.get(b"u8_add").unwrap();
let u8_add_1_1 = u8_add(1, 1);
println!("u8_add(1, 1) = {}", u8_add_1_1);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment