mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-07-16 08:46: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();
|
pub const artifact = Artifact.detect();
|
||||||
|
|
||||||
/// The runtime to back exe artifacts with.
|
/// The runtime to back exe artifacts with.
|
||||||
pub const app_runtime = std.meta.stringToEnum(
|
pub const app_runtime: apprt.Runtime = switch (artifact) {
|
||||||
apprt.Runtime,
|
.lib => .none,
|
||||||
std.meta.tagName(options.app_runtime),
|
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
|
/// Whether our devmode UI is enabled or not. This requires imgui to be
|
||||||
/// compiled.
|
/// compiled.
|
||||||
|
Reference in New Issue
Block a user