Files
another-boids-in-rust/vendor/sysinfo/ADDING_NEW_PLATFORMS.md

9 lines
144 B
Markdown

To get the `target_os` etc:
```
rustc --print cfg
```
In `src/lib.rs` add the matching based on the `cfg` data.
Create `src/<new_platform>`.