From 7abcd3dd9503a6fa2f6eb0838cdb9b91e53f91f3 Mon Sep 17 00:00:00 2001 From: Astro Date: Thu, 30 Apr 2020 01:54:19 +0200 Subject: [PATCH] runtime: add __artiq_personality stub --- runtime/src/kernel.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/runtime/src/kernel.rs b/runtime/src/kernel.rs index f6dce012..976bec77 100644 --- a/runtime/src/kernel.rs +++ b/runtime/src/kernel.rs @@ -84,12 +84,15 @@ fn resolve(required: &[u8]) -> Option { 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() {