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

When a custom runner is used, see if we can build 3dsx before the runner is invoked #61

Open
ian-h-chamberlain opened this issue Jun 14, 2024 · 0 comments

Comments

@ian-h-chamberlain
Copy link
Member

One problem with cargo 3ds test with a custom runner is that 3dsx files won't be built until after the custom runner tries to run the .elf. This requires a separate build + test step for things that need a .3dsx (i.e. anything with romfs).

A possible workaround that occurred to me is configuring our own custom runner that wraps the user-configured one, which would invoke 3dsxtool and all that stuff before then continuing on to the user-configured runner.

Another alternative would be to just run the build command as normal, then run the test/run command that would use the runner. There is probably some overhead this way, but I think Cargo caching should make it mostly not too bad.

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

1 participant