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

no_std support? #21

Open
berkus opened this issue Nov 6, 2022 · 3 comments
Open

no_std support? #21

berkus opened this issue Nov 6, 2022 · 3 comments

Comments

@berkus
Copy link

berkus commented Nov 6, 2022

I am using a custom test harness for OSdev, but wondering if this could do no_std as well?

@LukasKalbertodt
Copy link
Owner

Hi! I don't quite understand the use case yet. Is it a requirement to run the tests in a no-std environment? Usually for tests you can just use your development machine, no? Care to elaborate on your use case?

Apart from that, I don't really see how this library could become no_std. For one, it parses command line arguments via clap: clap doesn't yet support no_std and how would that work without std::env anyway? Also, libtest-mimic uses multi-threading to run tests in parallel. That couuuld in theory be gated behind a crate feature, but I don't think I woudl want the extra maintenance overhead.

@berkus
Copy link
Author

berkus commented Nov 6, 2022

Yes, the tests run in the no_std environment, usually via QEMU or other emulator.

@berkus
Copy link
Author

berkus commented Nov 6, 2022

This is how it typically works.

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