mirror of
https://github.com/m-labs/artiq.git
synced 2024-12-25 11:18:27 +08:00
runtime: don't attempt to perform writeback if disabled in kernel.
Otherwise, the startup kernel session hangs.
This commit is contained in:
parent
cd7527b701
commit
4df7941a97
@ -307,7 +307,10 @@ pub unsafe fn main() {
|
|||||||
(mem::transmute::<usize, fn()>(library.lookup("__modinit__")))();
|
(mem::transmute::<usize, fn()>(library.lookup("__modinit__")))();
|
||||||
send(&NowSave(NOW));
|
send(&NowSave(NOW));
|
||||||
|
|
||||||
attribute_writeback(library.lookup("typeinfo") as *const ());
|
let typeinfo = library.lookup("typeinfo");
|
||||||
|
if typeinfo != 0 {
|
||||||
|
attribute_writeback(typeinfo as *const ())
|
||||||
|
}
|
||||||
|
|
||||||
send(&RunFinished);
|
send(&RunFinished);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user