nac3standalone: add dummy support for artiq_personality
So existing tests can run again
This commit is contained in:
parent
343f6fd067
commit
31e76ca3b6
|
@ -53,6 +53,11 @@ pub extern "C" fn output_int32_list(x: &cslice::CSlice<i32>) {
|
||||||
println!("]");
|
println!("]");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#[no_mangle]
|
||||||
|
pub extern "C" fn __artiq_personality(_state: u32, _exception_object: u32, _context: u32) -> u32 {
|
||||||
|
unimplemented!();
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
extern "C" {
|
extern "C" {
|
||||||
fn run() -> i32;
|
fn run() -> i32;
|
||||||
|
|
|
@ -16,5 +16,5 @@ fi
|
||||||
|
|
||||||
rm -f *.o
|
rm -f *.o
|
||||||
$nac3standalone $1
|
$nac3standalone $1
|
||||||
rustc -o demo demo.rs -Clink-arg=./module.o
|
rustc -o demo demo.rs -Crelocation-model=static -Clink-arg=./module.o
|
||||||
./demo
|
./demo
|
||||||
|
|
Loading…
Reference in New Issue