Changed from root.zig to zla.zig
This commit is contained in:
parent
808b0f4a2f
commit
82e63e783a
3 changed files with 12 additions and 10 deletions
|
|
@ -5,7 +5,7 @@ pub fn build(b: *std.Build) void {
|
||||||
const optimize = b.standardOptimizeOption(.{});
|
const optimize = b.standardOptimizeOption(.{});
|
||||||
|
|
||||||
const mod = b.addModule("zla", .{
|
const mod = b.addModule("zla", .{
|
||||||
.root_source_file = b.path("src/root.zig"),
|
.root_source_file = b.path("src/zla.zig"),
|
||||||
|
|
||||||
.target = target,
|
.target = target,
|
||||||
.optimize = optimize,
|
.optimize = optimize,
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,5 @@
|
||||||
|
---@diagnostic disable-next-line: lowercase-global
|
||||||
|
|
||||||
function hello(name)
|
function hello(name)
|
||||||
if name ~= nil then
|
if name ~= nil then
|
||||||
io.stderr:write("Hello " .. name .. "\n")
|
io.stderr:write("Hello " .. name .. "\n")
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue