Delete .github/workflows/roar.src
This commit is contained in:
parent
6883b23af6
commit
9f48827694
1 changed files with 0 additions and 26 deletions
26
.github/workflows/roar.src
vendored
26
.github/workflows/roar.src
vendored
|
@ -1,26 +0,0 @@
|
|||
use { native_fs, native_exec } from host
|
||||
use { fs } from std
|
||||
|
||||
struct Innitguv {
|
||||
fs: native_fs,
|
||||
exec: native_exec
|
||||
current_pid: i32
|
||||
}
|
||||
|
||||
impl Exec for Innitguv {
|
||||
fn exec(&self, arg0: str, args: vec<str>) [nd, exec, await] -> i32 {
|
||||
let path = arg0
|
||||
let pid = self.exec.exec(path, args)
|
||||
if pid == -1 {
|
||||
return -1
|
||||
}
|
||||
self.current_pid = pid
|
||||
yield()
|
||||
}
|
||||
}
|
||||
|
||||
impl Actor for Innitguv {
|
||||
fn recv(&self, msg: Message) [recv, await] {
|
||||
self.exec(msg.path, msg.args)
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue