Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

core: improve build API (remove App/CoreApp) and entrypoint API (supply your own entrypoint by default) #1186

Open
3 of 6 tasks
slimsag opened this issue Mar 29, 2024 · 0 comments
Milestone

Comments

@slimsag
Copy link
Member

slimsag commented Mar 29, 2024

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: module system revamp #1182
@slimsag slimsag added this to the Mach 0.4 milestone Mar 29, 2024
slimsag added a commit that referenced this issue Apr 20, 2024
This removes the old `App` builder, leaving only `CoreApp` as something
to resolve/remove.

Helps #1186

Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
slimsag added a commit that referenced this issue Apr 21, 2024
This removes the old `App` builder, leaving only `CoreApp` as something
to resolve/remove.

Helps #1186

Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant