Thanks to visit codestin.com
Credit goes to lib.rs

#sim-connect #wasm-opt #gauges #pipeline #cargo-build #msfs #infinity

infinity-build-rust

Cargo + wasm-opt build pipeline for MSFS WASM gauges and native SimConnect apps

4 releases

Uses new Rust 2024

new 0.3.6 May 19, 2026
0.3.5 May 13, 2026
0.3.4 May 13, 2026
0.3.3 May 4, 2026

#847 in Configuration


Used in infinity-msfs

MIT license

41KB
1K SLoC

infinity-msfs-build-tools

A unified CLI for building MSFS 2024 add-ons: WASM gauges, native SimConnect apps, JS/TS instruments, and full sim packages — all driven from a single infinity-msfs.toml.

Full documentation, configuration reference, and examples live at https://infinity-simulations.com/docs/developer/build-tools.

Installation

Requires Rust 1.85+ and the wasm32-wasip1 target. wasm-opt (Binaryen) is recommended for release builds.

# From a clone of this repo
cargo install --path .

# Required for WASM gauge builds
rustup target add wasm32-wasip1

# Optional but recommended
# https://github.com/WebAssembly/binaryen/releases

Run the environment check to confirm everything is wired up:

infinity-msfs doctor

If the MSFS 2024 SDK isn't already installed, fetch the WASM/SimConnect subset into a local cache:

infinity-msfs sdk install

Quick start

infinity-msfs build --release        # cargo build → wasm-opt → copy
infinity-msfs build --js-only        # only the JS half of the pipeline
infinity-msfs package                # fspackagetool (Windows + sim required)
infinity-msfs watch --js             # rebuild on file change

See the docs site for the full configuration schema and per-command flags.

License

MIT

Dependencies

~12–25MB
~375K SLoC