Login
Remember
Register
Ask a Question
How to express platform-specific behaviour in Rust?
0
votes
asked
Dec 28, 2023
in
Rust
by
Robin
How to express platform-specific behaviour in Rust?
platform-specificbehaviour
Please
log in
or
register
to answer this question.
1
Answer
0
votes
answered
Dec 28, 2023
by
Robin
The following attributes can be used to express platform-specific behaviour in Rust.
target_os
target_family
target_endian
And so on
...