1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
/// Rust target triple for WebAssembly browser builds.
pub const TRIPLE_WEB: &str = "wasm32-unknown-unknown";
/// Rust target triple for Android ARM64 NDK builds.
pub const TRIPLE_ANDROID: &str = "aarch64-linux-android";
/// Rust target triple for iOS and iPadOS ARM64 device builds.
pub const TRIPLE_IOS: &str = "aarch64-apple-ios";
/// Rust target triple for macOS Apple Silicon native builds.
pub const TRIPLE_MACOS: &str = "aarch64-apple-darwin";
/// Rust target triple for macOS Intel x86_64 native builds.
pub const TRIPLE_MACOS_X64: &str = "x86_64-apple-darwin";
/// Rust target triple for Windows x86_64 MSVC native builds.
pub const TRIPLE_WINDOWS: &str = "x86_64-pc-windows-msvc";
/// Rust target triple for Windows ARM64 MSVC native builds.
pub const TRIPLE_WINDOWS_ARM64: &str = "aarch64-pc-windows-msvc";
/// Rust target triple for Linux x86_64 GNU native builds.
pub const TRIPLE_LINUX: &str = "x86_64-unknown-linux-gnu";
/// Rust target triple for Linux ARM64 GNU native builds.
pub const TRIPLE_LINUX_ARM64: &str = "aarch64-unknown-linux-gnu";
pub const HOST_MACOS_TRIPLE: &str = TRIPLE_MACOS_X64;
pub const HOST_MACOS_TRIPLE: &str = TRIPLE_MACOS;
pub const HOST_WINDOWS_TRIPLE: &str = TRIPLE_WINDOWS_ARM64;
pub const HOST_WINDOWS_TRIPLE: &str = TRIPLE_WINDOWS;
pub const HOST_LINUX_TRIPLE: &str = TRIPLE_LINUX_ARM64;
pub const HOST_LINUX_TRIPLE: &str = TRIPLE_LINUX;
pub const NAME_WEB: &str = "web";
pub const NAME_ANDROID: &str = "android";
pub const NAME_IOS: &str = "ios";
pub const NAME_IPAD: &str = "ipad";
pub const NAME_MACOS: &str = "macos";
pub const NAME_WINDOWS: &str = "windows";
pub const NAME_LINUX: &str = "linux";
pub const API_WEB: &str = "DOM Canvas / WebGPU / WebGL2";
pub const API_ANDROID: &str = "NDK ANativeWindow / Vulkan / GLES";
pub const API_IOS: &str = "UIKit / CoreGraphics / Metal";
pub const API_IPAD: &str = "UIKit / Stage Manager / Pencil / Metal";
pub const API_MACOS: &str = "AppKit / CoreGraphics / Metal";
pub const API_WINDOWS: &str = "Win32 / GDI / Direct3D 12";
pub const API_LINUX: &str = "dlopen Wayland & X11 / Vulkan";
pub const ARTIFACT_WEB: &str = "dist/web/euv_app.wasm";
pub const ARTIFACT_ANDROID: &str = "dist/android/arm64-v8a/libeuv_app.so";
pub const ARTIFACT_IOS: &str = "dist/ios/EuvApp.app";
pub const ARTIFACT_IPAD: &str = "dist/ipad/EuvApp.app";
pub const ARTIFACT_MACOS: &str = "dist/macos/EuvApp.app";
pub const ARTIFACT_WINDOWS: &str = "dist/windows/euv_app.exe";
pub const ARTIFACT_LINUX: &str = "dist/linux/euv_app";
pub const BIN_CARGO: &str = "cargo";
pub const ARG_BUILD: &str = "build";
pub const ARG_TARGET: &str = "--target";
pub const ARG_RELEASE: &str = "--release";
pub const STEP_COMPILE_DESC: &str = "Compile native Rust binary via Cargo";
pub const STEP_PACKAGE_DESC: &str = "Package direct system bundle without WebView";
pub const BIN_WASM_PACK: &str = "wasm-pack";
pub const ARG_TARGET_WEB: &str = "web";
pub const ARG_OUT_DIR: &str = "--out-dir";
pub const OUT_DIR_WEB: &str = "dist/web";