Skip to content

Add zig hello world example #138

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

Open
wants to merge 1 commit into
base: staging
Choose a base branch
from

Conversation

mewmew
Copy link
Contributor

@mewmew mewmew commented Jun 9, 2025

No description provided.

@mewmew mewmew changed the base branch from master to staging June 9, 2025 23:57
@mewmew
Copy link
Contributor Author

mewmew commented Jun 9, 2025

Zig "hello world" example adapted to Genode from https://ziglang.org/documentation/master/#Mixing-Object-Files

Example run using Goa:

$ goa run --versions-from-genode-dir ~/Desktop/genode --depot-dir ~/Desktop/genode/depot
Genode 25.05
17592186044415 MiB RAM and 19000 caps assigned to init
[init -> hello_zig] all your base are belong to us
[init] child "hello_zig" exited with exit value 0

Tested with both genode-toolchain-23.05 and genode-toolchain-25.05-ubuntu-24.04.

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