4 releases
0.1.0 | Oct 20, 2021 |
---|---|
0.0.1-alpha.2 | Dec 20, 2020 |
0.0.1-alpha.0 | Dec 11, 2020 |
0.0.0-pre.1 | Oct 9, 2020 |
#3 in #sim-connect
54KB
1.5K
SLoC
msfs-rs
These bindings include:
- MSFS Gauge API
- SimConnect API
- NanoVG API
Building
Tools such as cargo-wasi
may not work. When in doubt, try invoking
cargo build --target wasm32-wasi
directly.
If your MSFS SDK is not installed to C:\MSFS SDK
you will need to set the
MSFS_SDK
env variable to the correct path.
Known Issues and Work-Arounds
Missing various exports
Add a local .cargo/config.toml
file with the following settings:
[target.wasm32-wasi]
rustflags = [
"-Clink-arg=--export-table",
"-Clink-arg=--export=malloc",
"-Clink-arg=--export=free",
]
Dependencies
~2–4.5MB
~95K SLoC