[std/os clean up] import and export osseps (#20580)
import and export osseps
This commit is contained in:
parent
b7f1757952
commit
c0824b9b80
4 changed files with 4 additions and 3 deletions
|
|
@ -364,7 +364,7 @@ Files that may need changed for your platform include:
|
||||||
Add os/cpu to `Project.Platforms` field.
|
Add os/cpu to `Project.Platforms` field.
|
||||||
* `lib/system/platforms.nim`
|
* `lib/system/platforms.nim`
|
||||||
Add os/cpu.
|
Add os/cpu.
|
||||||
* `lib/pure/include/osseps.nim`
|
* `std/private/osseps.nim`
|
||||||
Add os specializations.
|
Add os specializations.
|
||||||
* `lib/pure/distros.nim`
|
* `lib/pure/distros.nim`
|
||||||
Add os, package handler.
|
Add os, package handler.
|
||||||
|
|
|
||||||
|
|
@ -95,7 +95,8 @@ type
|
||||||
|
|
||||||
OSErrorCode* = distinct int32 ## Specifies an OS Error Code.
|
OSErrorCode* = distinct int32 ## Specifies an OS Error Code.
|
||||||
|
|
||||||
include "includes/osseps"
|
import std/private/osseps
|
||||||
|
export osseps
|
||||||
|
|
||||||
proc absolutePathInternal(path: string): string {.gcsafe.}
|
proc absolutePathInternal(path: string): string {.gcsafe.}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -14,7 +14,7 @@
|
||||||
|
|
||||||
# Yes, this uses import here, not include so that
|
# Yes, this uses import here, not include so that
|
||||||
# we don't end up exporting these symbols from pathnorm and os:
|
# we don't end up exporting these symbols from pathnorm and os:
|
||||||
import includes/osseps
|
import std/private/osseps
|
||||||
|
|
||||||
type
|
type
|
||||||
PathIter* = object
|
PathIter* = object
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue