Commit 71ddd8ab authored by John Zhang's avatar John Zhang

Merge branch 'master' into ci-script

parents 556cafe3 f12e2975
......@@ -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