9 lines
144 B
Markdown
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>`.
|