Skip to content

Commit e1e414e

Browse files
committed
std: move os/darwin.zig and related to c/darwin.zig
Move to c/darwin.zig as they really are libSystem/libc imports/wrappers. As an added bonus, get rid of the nasty `usingnamespace`s which are now unneeded. Finally, add `os.ptrace` but currently only implemented on darwin.
1 parent bd242ce commit e1e414e

File tree

6 files changed

+500
-571
lines changed

6 files changed

+500
-571
lines changed

CMakeLists.txt

-1
Original file line numberDiff line numberDiff line change
@@ -296,7 +296,6 @@ set(ZIG_STAGE2_SOURCES
296296
"${CMAKE_SOURCE_DIR}/lib/std/meta/trait.zig"
297297
"${CMAKE_SOURCE_DIR}/lib/std/multi_array_list.zig"
298298
"${CMAKE_SOURCE_DIR}/lib/std/os.zig"
299-
"${CMAKE_SOURCE_DIR}/lib/std/os/darwin.zig"
300299
"${CMAKE_SOURCE_DIR}/lib/std/os/linux.zig"
301300
"${CMAKE_SOURCE_DIR}/lib/std/os/linux/errno/generic.zig"
302301
"${CMAKE_SOURCE_DIR}/lib/std/os/linux/x86_64.zig"

0 commit comments

Comments
 (0)