runtime: add __artiq_personality stub
This commit is contained in:
parent
9aca1a780b
commit
7abcd3dd95
@ -84,12 +84,15 @@ fn resolve(required: &[u8]) -> Option<u32> {
|
|||||||
api!(rtio_input_timestamp = rtio::input_timestamp),
|
api!(rtio_input_timestamp = rtio::input_timestamp),
|
||||||
api!(rtio_input_data = rtio::input_data),
|
api!(rtio_input_data = rtio::input_data),
|
||||||
api!(rtio_input_timestamped_data = rtio::input_timestamped_data),
|
api!(rtio_input_timestamped_data = rtio::input_timestamped_data),
|
||||||
|
api!(__artiq_personality = __artiq_personality),
|
||||||
];
|
];
|
||||||
api.iter()
|
api.iter()
|
||||||
.find(|&&(exported, _)| exported.as_bytes() == required)
|
.find(|&&(exported, _)| exported.as_bytes() == required)
|
||||||
.map(|&(_, ptr)| ptr as u32)
|
.map(|&(_, ptr)| ptr as u32)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
fn __artiq_personality() {
|
||||||
|
}
|
||||||
|
|
||||||
#[no_mangle]
|
#[no_mangle]
|
||||||
pub fn main_core1() {
|
pub fn main_core1() {
|
||||||
|
Loading…
Reference in New Issue
Block a user