Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cargo vita check command #25

Open
TheAwesome98-Real opened this issue Sep 5, 2024 · 3 comments
Open

cargo vita check command #25

TheAwesome98-Real opened this issue Sep 5, 2024 · 3 comments

Comments

@TheAwesome98-Real
Copy link

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
Copy link
Author

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
Copy link
Member

pheki commented Sep 5, 2024

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
Copy link
Author

thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants