浏览代码

Remove runtime.os_stdout, since it is not required by the runtime

gingerBill 5 年之前
父节点
当前提交
2475c69f00
共有 2 个文件被更改,包括 0 次插入6 次删除
  1. 0 3
      core/runtime/os_specific.odin
  2. 0 3
      core/runtime/os_specific_freestanding.odin

+ 0 - 3
core/runtime/os_specific.odin

@@ -6,9 +6,6 @@ import "core:os"
 _OS_Errno  :: distinct int;
 _OS_Handle :: os.Handle;
 
-os_stdout :: proc "contextless" () -> _OS_Handle {
-	return os.stdout;
-}
 os_stderr :: proc "contextless" () -> _OS_Handle {
 	return os.stderr;
 }

+ 0 - 3
core/runtime/os_specific_freestanding.odin

@@ -4,9 +4,6 @@ package runtime
 _OS_Errno  :: distinct int;
 _OS_Handle :: distinct uintptr;
 
-os_stdout :: proc "contextless" () -> _OS_Handle {
-	return 1;
-}
 os_stderr :: proc "contextless" () -> _OS_Handle {
 	return 2;
 }