mirror of
https://github.com/allyourcodebase/lua.git
synced 2026-05-01 11:17:58 +02:00
fix: code example in README.md
This commit is contained in:
parent
00fbce3fd1
commit
8003d9a98d
1 changed files with 2 additions and 4 deletions
|
|
@ -32,10 +32,8 @@ zig fetch --save https://github.com/allyourcodebase/lua/archive/refs/tags/5.4.7.
|
||||||
then add the following to your `build.zig`
|
then add the following to your `build.zig`
|
||||||
```zig
|
```zig
|
||||||
const lua_dep = b.dependency("lua", .{
|
const lua_dep = b.dependency("lua", .{
|
||||||
.{
|
|
||||||
.target = target,
|
.target = target,
|
||||||
.release = optimize != .Debug,
|
.release = optimize != .Debug,
|
||||||
}
|
|
||||||
});
|
});
|
||||||
const lua_lib = lua_dep.artifact("lua");
|
const lua_lib = lua_dep.artifact("lua");
|
||||||
```
|
```
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue