Skip to content

Commit 16b3c9f

Browse files
zrr1999Copilot
andcommitted
fix: align process_run_status/exit signatures to I32 (int-type-split)
Aligns `process_run_status` and `exit` return/parameter types from `Int` to `I32`, following the spore int-type-split change (Ty::Int → sized variants). Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent 1197c58 commit 16b3c9f

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/basic_cli/cmd.sp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
pub foreign fn process_run(cmd: Str, args: List[Str]) -> Str ! ExecError uses [Spawn]
88

99
/// Run a command and return its exit code.
10-
pub foreign fn process_run_status(cmd: Str, args: List[Str]) -> Int ! ExecError uses [Spawn]
10+
pub foreign fn process_run_status(cmd: Str, args: List[Str]) -> I32 ! ExecError uses [Spawn]
1111

1212
/// Exit the current process with the provided status code.
13-
pub foreign fn exit(code: Int) -> Never uses [Exit]
13+
pub foreign fn exit(code: I32) -> Never uses [Exit]

0 commit comments

Comments
 (0)