In addition to what eatsfoobars said, you can also use attributes for conditional compilation depending on a number of things (pointer size, platform, etc.) e.g., <a href="https:&#x2F;&#x2F;github.com&#x2F;BurntSushi&#x2F;walkdir&#x2F;blob&#x2F;master&#x2F;src&#x2F;same_file.rs#L19-L37" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;BurntSushi&#x2F;walkdir&#x2F;blob&#x2F;master&#x2F;src&#x2F;same_f...</a>