System Detection
Overview
Quick Example
use lighty_core::{get_os, get_architecture};
fn main() {
let os = get_os();
let arch = get_architecture();
println!("OS: {:?}, Arch: {:?}", os, arch);
// Output: OS: Windows, Arch: X86_64
}API Reference
get_os() -> OS
get_os() -> OSget_architecture() -> Architecture
get_architecture() -> ArchitectureUse Cases
Platform-Specific Downloads
Java Distribution Selection
See Also
Last updated