surrealdb_core/env/
mod.rs

1/// The SurrealDB package version identifier
2pub const VERSION: &str = env!("CARGO_PKG_VERSION");
3
4/// The operating system of the current machine
5pub fn os() -> &'static str {
6	get_cfg!(target_os: "windows", "macos", "ios", "linux", "android", "freebsd", "openbsd", "netbsd");
7	target_os()
8}
9/// The system architecture of the current machine
10pub fn arch() -> &'static str {
11	get_cfg!(target_arch: "x86", "x86_64", "mips", "powerpc", "powerpc64", "arm", "aarch64");
12	target_arch()
13}