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

Remove vendored code and update to latest module api #43

Merged
merged 5 commits into from
Jan 10, 2024

Conversation

natecraddock
Copy link
Owner

@natecraddock natecraddock commented Jan 9, 2024

Removes vendored code and updates to recent changes in Zig ziglang/zig#18160

  • Remove vendored lua code
  • Create Lua 5.1 patched repo
  • Remove vendored luau code
  • Update install documentation

@natecraddock natecraddock linked an issue Jan 9, 2024 that may be closed by this pull request
Use the Zig package manager to download the sources for Lua 5.1 through
Lua 5.4. Luau still needs to be done this way.

The LuaVersion enum strings are changed to remove the _ characters, this
is a breaking change.

Also makes the tests rely on the module rather than the raw source file.
Not sure if this is a good idea yet, just testing some things.

This links the compiled lua library to the ziglua module so it doesn't
need to be linked manually in other projects.
@natecraddock natecraddock merged commit b71a42e into main Jan 10, 2024
3 checks passed
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.

Remove vendored libraries and rely on the Zig package manager
1 participant