// SPDX-FileCopyrightText: (C) 2021 Jason Ish // SPDX-License-Identifier: MIT fn main() { // Make the target triple available to the env! macro. This is used so the binary // can figure out its self-update URL. println!( "cargo:rustc-env=TARGET={}", std::env::var("TARGET").unwrap() ); }