mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-07-15 16:26:08 +03:00
build_config sets runtime to "none" if embedded
This commit is contained in:
@ -13,10 +13,10 @@ const apprt = @import("apprt.zig");
|
||||
pub const artifact = Artifact.detect();
|
||||
|
||||
/// The runtime to back exe artifacts with.
|
||||
pub const app_runtime = std.meta.stringToEnum(
|
||||
apprt.Runtime,
|
||||
std.meta.tagName(options.app_runtime),
|
||||
).?;
|
||||
pub const app_runtime: apprt.Runtime = switch (artifact) {
|
||||
.lib => .none,
|
||||
else => std.meta.stringToEnum(apprt.Runtime, std.meta.tagName(options.app_runtime)).?,
|
||||
};
|
||||
|
||||
/// Whether our devmode UI is enabled or not. This requires imgui to be
|
||||
/// compiled.
|
||||
|
Reference in New Issue
Block a user