Commit Graph

24 Commits

Author SHA1 Message Date
Laytan Laats
171a8d1589 don't try to use amd64 lua lib on other architectures 2025-11-08 21:45:01 +01:00
Jeroen van Rijn
998fbdc5c0 Doc lines for vendor:* 2025-10-10 17:51:28 +02:00
Waqar Ahmed
aafa7a04ab Fix typo, its supposed to be #config
Otherwise compile errors out when importing the file with the error:

```odin
vendor/lua/5.2/lua.odin(10:15) Error: Undeclared name: config 
        LUA_SHARED :: config(LUA_SHARED, false) 
```
2024-11-18 23:58:02 +05:00
gingerBill
eb799393d5 Fix -vet-tabs issues 2024-08-24 13:56:41 +01:00
Jeroen van Rijn
f78a792d48 Add Lua example to vendor\lua as well as basic tests. 2024-07-20 18:30:41 +02:00
Jeroen van Rijn
9d6ed991cb Remove LUA panic for non-big-3 OS 2024-07-20 14:33:34 +02:00
Jeroen van Rijn
2385e1ddd9 Update LUA imports for Darwin. 2024-07-20 14:24:01 +02:00
gingerBill
3e7e779abf Replace core:* to base:* where appropriate 2024-01-28 22:18:51 +00:00
flysand7
cf937c6341 add 'shared' config to vendor libraries 2023-10-14 21:21:34 +11:00
gingerBill
54b7cefb09 Fix lua.MAXSTACK 2023-05-24 10:21:53 +01:00
Clay Murray
8caadbacf7 lua MAXSTACK should be 1000000 on 32 bits OR greater
Code only checks if 4 bytes for `rawptr` size. However lua defines the macro (that I assume the odin code is based on) as:

```
/*
@@ LUAI_IS32INT is true iff 'int' has (at least) 32 bits.
*/
#define LUAI_IS32INT	((UINT_MAX >> 30) >= 3)
```

This error broke `upvalues` because it would be looking for the wrong index for lua to find them at.
2023-05-14 14:00:38 -06:00
gingerBill
dcf53236ff Generalize the foreign import for unsupported platforms 2023-04-05 17:31:43 +01:00
gingerBill
97b2d1fe5c Update README.md 2023-04-05 17:26:48 +01:00
gingerBill
c5af69ffa6 Add vendor:lua/5.1 2023-04-05 17:25:30 +01:00
gingerBill
12d56103d9 Minor fixes 2023-04-05 16:52:27 +01:00
gingerBill
8ff713f3bb Add vendor:lua/5.2 2023-04-05 16:52:17 +01:00
gingerBill
03972d565e Alignment fix 2023-04-05 16:31:25 +01:00
gingerBill
4dcf253330 Add vendor:lua/5.3 2023-04-05 16:30:08 +01:00
gingerBill
012f386057 Add linux binaries 2023-04-05 16:16:48 +01:00
gingerBill
8c327567c0 Minor change to L_loadbuffer's signature 2023-04-05 16:05:39 +01:00
gingerBill
31bc982a53 Fix typo 2023-04-05 16:00:58 +01:00
gingerBill
cbd2d89637 Add LICENSE 2023-04-05 15:58:06 +01:00
gingerBill
67151d39e1 Add README.md 2023-04-05 15:56:56 +01:00
gingerBill
d715158fe3 Add vendor:lua/5.4 2023-04-05 15:55:55 +01:00