Lines Matching refs:const
3 const std = @import("std");
10 const target = b.standardTargetOptions(.{});
14 const mode = b.standardReleaseOptions();
16 const exe = b.addExecutable("ex1z", "ex1z.zig");
18 const PETSC_DIR = std.os.getenv("PETSC_DIR") orelse unreachable;
19 const PETSC_ARCH = std.os.getenv("PETSC_ARCH") orelse unreachable;
20 … var path = std.fs.path.join(std.heap.c_allocator, &[_][] const u8 { PETSC_DIR,PETSC_ARCH,"lib"});
24 path = std.fs.path.join(std.heap.c_allocator, &[_][] const u8 { PETSC_DIR,"include"});
26 … path = std.fs.path.join(std.heap.c_allocator, &[_][] const u8 { PETSC_DIR,PETSC_ARCH,"include"});
34 const run_cmd = exe.run();
40 const run_step = b.step("run", "Run the app");