vita-rust / cargo-vita

Cargo command to build Rust applications for Sony Playstation Vita
Apache License 2.0
8 stars 1 forks source link

`cargo vita check` command #25

Open TheAwesome98-Real opened 1 week ago

TheAwesome98-Real commented 1 week ago

it would be useful because regular cargo check shits errors about not being able to link because those are armv7 ar files and gcc is for x86_64. sometimes my ide starts acting weird and i'm not 100% certain it's showing me errors (usually when i'm developing for another architecture). i usually want to run this command if i do something i'm fairly sure you're not supposed to be able to do in rust but it doesn't give an error.

TheAwesome98-Real commented 1 week ago

also, i could set my ide's check command to this in the folder where i have my vita project, to fix the problem!

pheki commented 1 week ago

Hi! I don't disagree that cargo vita check would be better, but as a workaround for now you can try cargo check --target armv7-sony-vita-newlibeabihf -Z build-std

TheAwesome98-Real commented 1 week ago

thanks!