runkernel: add dummy artiq_personality function

This commit is contained in:
Sebastien Bourdeauducq 2022-02-13 13:03:38 +08:00
parent 4b8e70f746
commit 2e44745933
1 changed files with 5 additions and 0 deletions

View File

@ -42,6 +42,11 @@ pub extern "C" fn print_int64(x: i64) {
println!("print_int64: {}", x); println!("print_int64: {}", x);
} }
#[no_mangle]
pub extern "C" fn __artiq_personality(_state: u32, _exception_object: u32, _context: u32) -> u32 {
unimplemented!();
}
fn main() { fn main() {
let filename = env::args().nth(1).unwrap(); let filename = env::args().nth(1).unwrap();