core: do not download example dependencies if only depending on mach-core #1072

Open
opened 2023-10-17 06:45:01 +00:00 by emidoots · 0 comments
emidoots commented 2023-10-17 06:45:01 +00:00 (Migrated from github.com)

Right now these two dependencies are needed for examples, but Zig package manager can't express optional dependencies yet:

github.com/hexops/mach-core@331ce61cb8/build.zig.zon (L16-L24)

As well github.com/hexops/mach-core@331ce61cb8/build_examples.zig (L175) runs which can slow down the build.

Important: This issue is ONLY about when depending on mach-core, not when e.g. building the mach-core examples

Right now these two dependencies are needed for examples, but Zig package manager can't express optional dependencies yet: https://github.com/hexops/mach-core/blob/331ce61cb8c075be6d7c46e49da8ccbd5967d9b7/build.zig.zon#L16-L24 As well https://github.com/hexops/mach-core/blob/331ce61cb8c075be6d7c46e49da8ccbd5967d9b7/build_examples.zig#L175 runs which can slow down the build. **Important:** This issue is ONLY about when depending on mach-core, not when e.g. building the mach-core examples
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
hexops/mach#1072
No description provided.