Crates.io | vita-newlib-shims |
lib.rs | vita-newlib-shims |
version | 0.3.1 |
source | src |
created_at | 2023-05-21 10:39:16.515958 |
updated_at | 2023-10-18 14:15:37.399705 |
description | Shims for libc functions not provided by Vita SDK newlib |
homepage | https://github.com/vita-rust/vita-newlib-shims |
repository | https://github.com/vita-rust/vita-newlib-shims |
max_upload_size | |
id | 869883 |
size | 21,647 |
Standard library support for PlayStation Vita in Rust relies on Vita SDK newlib. Unfortunately, not all of the POSIX functions are implemented in it.
This repository aims to temporarily fix that by providing shims for the missing functions.
To use this crate:
Add it as a dependency to your project
cargo add vita-newlib-shims
Import this crate in the root of your project:
#[cfg(target_os = "vita")]
use vita_newlib_shims as _;
VITASDK
environment variable must be set to your Vita SDK location.
During build this crate will check the exported symbols from the libc.a
object file using arm-vita-eabi-nm
of your Vita SDK installation, and will only provide shims for the missing functions.
Except where noted (below and/or in individual files), all code in this repository is dual-licensed at your option under either: