Skip to content

Commit 3ac0eb7

Browse files
authored
Move lauxlib into rust (#10)
* Move lauxlib into rust * Fix buffonstack calculation * Add inline(always) as this was a macro
1 parent f47ffd3 commit 3ac0eb7

File tree

7 files changed

+1462
-1152
lines changed

7 files changed

+1462
-1152
lines changed

Cargo.lock

Lines changed: 5 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ bench = false
1212
[dependencies]
1313
libc = "0.2"
1414
rand = "0.8.5"
15+
cfg-if = "1.0.0"
1516

1617
[build-dependencies]
1718
cc = "1.0"

build/build.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ fn main() {
44
.define("LUA_USE_CTYPE", None)
55
.define("LUA_USE_POSIX", None)
66
// Lua core
7-
.file("build/lauxlib.c")
87
.file("build/lcode.c")
98
.file("build/lgc.c")
109
.file("build/llex.c")

0 commit comments

Comments
 (0)