http.nvim icon indicating copy to clipboard operation
http.nvim copied to clipboard

MLua can't be built on Windows

Open dsisnero opened this issue 2 years ago • 3 comments

       Compiling os_pipe v1.1.3
    error: argument must be a string literal
       --> F:\windows\tools\rust\.cargo\registry\src\github.com-1ecc6299db9ec823\mlua-0.8.7\build/main.rs:104:9
        |
    104 | /         "Vendored (static) builds are not supported for modules on Windows.\n"
    105 | |             + "Please, use `pkg-config` or custom mode to link to a Lua dll."
        | |_____________________________________________________________________________^
    
    error: could not compile `mlua` due to previous error
    warning: build failed, waiting for other jobs to finish...

dsisnero avatar Mar 28 '23 21:03 dsisnero

Try the win branch. If that doesn't work then you will need to follow the instructions for the Windows build: https://github.com/khvzak/mlua#module-mode

jcdickinson avatar Mar 29 '23 14:03 jcdickinson

I attempted to build mlua.rs on Windows, and didn't have any luck. I will mark Windows as unsupported in the README.

Sorry.

jcdickinson avatar Mar 30 '23 03:03 jcdickinson

hopefully mlua can be fixed for windows -

dsisnero avatar Mar 30 '23 16:03 dsisnero