runtime: add __artiq_personality stub

This commit is contained in:
Astro 2020-04-30 01:54:19 +02:00
parent 9aca1a780b
commit 7abcd3dd95

View File

@ -84,12 +84,15 @@ fn resolve(required: &[u8]) -> Option<u32> {
api!(rtio_input_timestamp = rtio::input_timestamp),
api!(rtio_input_data = rtio::input_data),
api!(rtio_input_timestamped_data = rtio::input_timestamped_data),
api!(__artiq_personality = __artiq_personality),
];
api.iter()
.find(|&&(exported, _)| exported.as_bytes() == required)
.map(|&(_, ptr)| ptr as u32)
}
fn __artiq_personality() {
}
#[no_mangle]
pub fn main_core1() {