Changed from root.zig to zla.zig

This commit is contained in:
abux 2026-07-27 09:36:03 +01:00
parent 808b0f4a2f
commit 82e63e783a
3 changed files with 12 additions and 10 deletions

View file

@ -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,

View file

@ -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")