sunfishcode / mustang

Rust programs written entirely in Rust
Other
849 stars 24 forks source link

Use cargo features rather than `target_vendor` in c-scape and c-gull #224

Closed sunfishcode closed 1 year ago

sunfishcode commented 1 year ago

Add cargo features "take-charge" and "coexist-with-libc" to c-scape and c-gull, and use those features instead of testing for target_vendor = "mustang".

This is similar to how origin was recently converted to use cargo features instead of target_vendor = "mustang" and will enable c-scape and c-gull to be used in more ways.