vita-newlib-shims

Crates.io MIT/Apache 2.0

Standard library support for PlayStation Vita in Rust relies on Vita SDK newlib. Unfortunately, not all of the POSIX functions are implemented in it, including those that Rust std relies on.

This repository aims to fix that by providing shims for the missing functions.

To use this crate you need to:

  1. Add it as a dependency to your project bash cargo add vita-newlib-shims
  2. Use it somewhere in your lib/main, so that the code is actually compiled and linked rust #[cfg(target_os = "vita")] use vita_newlib_shims as _;

License

Except where noted (below and/or in individual files), all code in this repository is dual-licensed at your option under either: