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

luajit build for windows #124

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

Conversation

ousttrue
Copy link

@ousttrue ousttrue commented Dec 11, 2024

sorry.
I made a mistake in the issue number.

fixed #80

E:\repos\github.com\natecraddock\ziglua\.zig-cache\o\acce31313327c113af65b0f056d4ffd1/buildvm_arch.h:8:12: error: \U used with no following hex digits
#line 1 "AppData\Local\zig\p\1220ae2d84cfcc2a7aa670661491f21bbed102d335de18ce7d36866640fd9dfcc33a\src\vm_x64.dasc"

Windows11
0.14.0-dev.2435+7575f2121

zig build -Dlang=luajit install-example-interpreter

It was successfully executed.
I would like to build nvim by build.zig.

if (std.mem.indexOf(u8, line, "\"#line \"")) |_| {
// replace backslash to slash
_ = output_file.write(
\\ wline("#line "..g_lineno..' "'..g_fname:gsub("\\", "/")..'"')
Copy link
Author

Choose a reason for hiding this comment

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

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.

luajit is broken on Window, sha: 486f51d3acc61d805783f5f07aee34c75ab59a25
1 participant