[std/os clean up] import and export osseps (#20580)

import and export osseps
This commit is contained in:
ringabout
2022-10-18 02:29:00 +08:00
committed by GitHub
parent b7f1757952
commit c0824b9b80
4 changed files with 4 additions and 3 deletions

View File

@@ -364,7 +364,7 @@ Files that may need changed for your platform include:
Add os/cpu to `Project.Platforms` field.
* `lib/system/platforms.nim`
Add os/cpu.
* `lib/pure/include/osseps.nim`
* `std/private/osseps.nim`
Add os specializations.
* `lib/pure/distros.nim`
Add os, package handler.

View File

@@ -95,7 +95,8 @@ type
OSErrorCode* = distinct int32 ## Specifies an OS Error Code.
include "includes/osseps"
import std/private/osseps
export osseps
proc absolutePathInternal(path: string): string {.gcsafe.}

View File

@@ -14,7 +14,7 @@
# Yes, this uses import here, not include so that
# we don't end up exporting these symbols from pathnorm and os:
import includes/osseps
import std/private/osseps
type
PathIter* = object