]> git.proxmox.com Git - rustc.git/blob - vendor/sysinfo/ADDING_NEW_PLATFORMS.md
New upstream version 1.63.0+dfsg1
[rustc.git] / vendor / sysinfo / ADDING_NEW_PLATFORMS.md
1 To get the `target_os` etc:
2 ```
3 rustc --print cfg
4 ```
5
6 In `src/lib.rs` add the matching based on the `cfg` data.
7
8 Create `src/<new_platform>`.