mirror of
https://github.com/m-labs/artiq.git
synced 2024-12-28 20:53:35 +08:00
coredevice/core: add syscall type annotation
This commit is contained in:
parent
c8dc6ca07c
commit
c6e54e3016
@ -38,7 +38,7 @@ class CompileError(Exception):
|
||||
|
||||
|
||||
@syscall
|
||||
def rtio_init():
|
||||
def rtio_init() -> TNone:
|
||||
raise NotImplementedError("syscall not simulated")
|
||||
|
||||
@syscall(flags={"nounwind", "nowrite"})
|
||||
|
Loading…
Reference in New Issue
Block a user