# Windows (MSVC): link the C runtime statically, so cumulus.exe runs on any # Windows 10/11 machine without installing the "Visual C++ Redistributable". [target.'cfg(all(windows, target_env = "msvc"))'] rustflags = ["-C", "target-feature=+crt-static"] [alias] # `cargo lint`: the strict check to run before committing. lint = "clippy --all-targets -- -D warnings" # `cargo linux`: build a Linux binary from any OS. It's fully static, so the # same file runs on Void (glibc or musl), Fedora and other distributions: # target/x86_64-unknown-linux-musl/release/cumulus linux = [ "build", "--release", "--target", "x86_64-unknown-linux-musl", "--config", "target.x86_64-unknown-linux-musl.linker = 'rust-lld'", ]