wrangler 1.21.0

Command-line interface for all things Cloudflare Workers
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
pub const LINUX: bool = cfg!(target_os = "linux");
pub const MACOS: bool = cfg!(target_os = "macos");
pub const WINDOWS: bool = cfg!(target_os = "windows");

#[allow(non_upper_case_globals)]
pub const x86_64: bool = cfg!(target_arch = "x86_64");

#[allow(non_upper_case_globals)]
pub const aarch64: bool = cfg!(target_arch = "aarch64");

// Capture if {Wrangler} is in release or debug mode
pub const DEBUG: bool = cfg!(debug_assertions);