vlang / v

Simple, fast, safe, compiled language for developing maintainable software. Compiles itself in <1s with zero library dependencies. Supports automatic C => V translation. https://vlang.io
MIT License
35.8k stars 2.16k forks source link

net.http does not work in lua modules #21960

Open jian308 opened 3 months ago

jian308 commented 3 months ago

Describe the bug

net.http does not work in lua modules

Reproduction Steps

embedd-lua-in-vlang I found this. It works fine. But when I use net.http, it can be compiled into a dll, but it can't be used in lua, it will interrupt the program.

Expected Behavior

Make it work

Current Behavior

I Cannot see error

Possible Solution

No response

Additional Information/Context

No response

V version

V full version: V 0.4.7 7baff15

Environment details (OS name and version, etc.)

OS: windows, Microsoft Windows 7 Ultimate v7601 64-bit Processor: 4 cpus, 64bit, little endian, CC version: clang version 15.0.3

[!NOTE] You can use the 👍 reaction to increase the issue's priority for developers.

Please note that only the 👍 reaction to the issue itself counts as a vote. Other reactions and those to comments will not be taken into account.

felipensp commented 3 months ago

You must provide a full reproducible test case.