M
Modular16mo ago
Tanvir

External call

how external_call work can i call my own function written in c++ or rust by this
1 Reply
Jack Clayton
Jack Clayton16mo ago
@Tanvir
fn exit(status: Int32) -> UInt8:
return external_call["exit", UInt8, Int32](status)


def main():
exit(0)
fn exit(status: Int32) -> UInt8:
return external_call["exit", UInt8, Int32](status)


def main():
exit(0)
Want results from more Discord servers?
Add your server