diff options
Diffstat (limited to 'vendor/sysinfo-0.26.7/ADDING_NEW_PLATFORMS.md')
-rw-r--r-- | vendor/sysinfo-0.26.7/ADDING_NEW_PLATFORMS.md | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/vendor/sysinfo-0.26.7/ADDING_NEW_PLATFORMS.md b/vendor/sysinfo-0.26.7/ADDING_NEW_PLATFORMS.md new file mode 100644 index 000000000..4d9330a07 --- /dev/null +++ b/vendor/sysinfo-0.26.7/ADDING_NEW_PLATFORMS.md @@ -0,0 +1,8 @@ +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>`. |