Skip to content

fix: build lib into separate lib directory #12

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

Merged
merged 1 commit into from
Jun 17, 2025

Conversation

mrcjkb
Copy link
Contributor

@mrcjkb mrcjkb commented Jun 16, 2025

For some reason, having includes in a subdirectory of the directory containing the lib breaks compilation on Windows/MSVC (as used by lux, see #11 (comment)).
Moving the libs to a separate lib subdirectory seems to fix this.

I've tested this fix by adding my fork+branch as a dependency to lux and it seems to do the trick: nvim-neorocks/lux#801
(the nix build failures are because of the git dependency).

@khvzak khvzak merged commit 7366ea6 into mlua-rs:main Jun 17, 2025
56 checks passed
@mrcjkb mrcjkb deleted the mj/push-nmyurxzqksyn branch June 17, 2025 21:01
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