-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Want Zig? #2914
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
base: main
Are you sure you want to change the base?
Want Zig? #2914
Conversation
|
Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA). View this failed invocation of the CLA check for more information. For the most up to date status, view the checks section at the bottom of the pull request. |
|
Is it possible to keep the zig files in a separate repo? We usually don't add language-specific files directly to this repo unless we can support it ourselves (and we cannot for zig). |
|
Yeah it definitely is. You would basically combine this build.zig and the one in my zmujoco repo, adjust the paths, fetch mujoco manually get the third-party repos CMake gets for you or use the |
|
I think you actually could use the |
|
Okay sorry to spam you but since you gave me a problem to solve it's definitely possible. You would have a branch with only zig files & use the Few issues versions stay frozen, you need to manually update things or you need to keep updating the expected hash. Bigger issue is linking the files and defining things in the The build.zig.zon you could use with just this zig directory ( You wouldn't need the other 2 files ) If you want the |
anyzig ( zig version manager ) expects a full version
It's actually pretty simple building the project with Zig and even using the C functions. The issue is maintaining things and any additional abstraction levels.
I think what I added won't cause issues it might spark some interest and someone might have ideas on how to develop it further.