Skip to content

Housekeeping#626

Merged
mattnite merged 2 commits intomainfrom
housekeeping
Jul 10, 2025
Merged

Housekeeping#626
mattnite merged 2 commits intomainfrom
housekeeping

Conversation

@tact1m4n3
Copy link
Collaborator

I mainly tried to move stuff out of core/src/start.zig into the microzig namespace:

  • microzig_options: From a submodule like a hal or cpu, to get access to microzig_options you had to import root which I think was a little awkward. Now you can do microzig.options (similar to std.options)
  • initialize_system_memories: The same thing, it was under root, but now it can be found in microzig.utilities.initialize_system_memories().

Also I added a microzig option to specify whether you want the name of the error returned from main in the panic message since this depending on builtin.strip_debug_info didn't make any sense (as @mattnite mentioned here #621).

If these changes are not reasonable please let me know :)

@tact1m4n3 tact1m4n3 force-pushed the housekeeping branch 2 times, most recently from 0c79260 to 8a3d694 Compare July 8, 2025 13:34
@mattnite mattnite enabled auto-merge (squash) July 10, 2025 15:23
Copy link
Contributor

@mattnite mattnite left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Very nice

@mattnite mattnite merged commit 0d314bc into main Jul 10, 2025
49 checks passed
@mattnite mattnite deleted the housekeeping branch July 10, 2025 15:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants