core: improve entrypoint API / docs #1186

Open
opened 2024-03-29 17:57:43 +00:00 by emidoots · 0 comments
emidoots commented 2024-03-29 17:57:43 +00:00 (Migrated from github.com)

General exploration plan:

  1. Eliminate CoreApp in our build.zig logic.
  2. Eliminate the old core API and make it 100% a module.
  3. Everywhere:
    a. Show people how to set up the module system using their own main entrypoint first. i.e. 'what people expect' but is platform-specific.
    b. Show them how they could use a Mach-provided entrypoint package instead, which is actually cross-platform.
  4. Eliminate App in our build.zig logic.
  5. Make mach-core's API just a Mach module
  6. Polish our module system architecture enough that mach-core's API could be just a Mach module: https://github.com/hexops/mach/pull/1182
General exploration plan: 6. [x] Eliminate CoreApp in our build.zig logic. 3. [ ] Eliminate the old `core` API and make it 100% a module. 4. [ ] Everywhere: a. Show people how to set up the module system using their own `main` entrypoint first. i.e. 'what people expect' but is platform-specific. b. Show them how they could use a Mach-provided `entrypoint` package instead, which is actually cross-platform. 5. [x] Eliminate App in our build.zig logic. 2. [x] Make mach-core's API just a Mach module 1. [x] Polish our module system architecture enough that mach-core's API could be just a Mach module: https://github.com/hexops/mach/pull/1182
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#1186
No description provided.