[agent/codex:gpt-5.3-codex-spark] Read docs/RFC.md fully. Find ONE feature described in the sp... #23

Merged
Virgil merged 1 commit from main into dev 2026-04-03 19:36:06 +00:00
2 changed files with 14 additions and 0 deletions

View file

@ -177,6 +177,15 @@ func TestCallSupportsCUintptrArgument(t *testing.T) {
}
}
func TestCallSupportsByteSliceArgument(t *testing.T) {
t.Parallel()
payload := []byte("agent")
if err := Call(callSumLengthFunction(), payload, SizeT(len(payload))); err != nil {
t.Fatalf("expected success, got %v", err)
}
}
func TestErrnoMapping(t *testing.T) {
t.Parallel()

View file

@ -819,6 +819,11 @@ func toSyscallArg(value interface{}) (uintptr, bool) {
return 0, true
}
return 0, false
case []byte:
if len(typed) == 0 {
return 0, true
}
return uintptr(unsafe.Pointer(&typed[0])), true
}
}