-
Notifications
You must be signed in to change notification settings - Fork 9
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
Support running std tests #7
Comments
It might be possible to draw inspiration from xargo, which does manage to turn the rust-src |
You are missing this in the workspace |
Good catch! That gets us a lot further. Now libc fails to build:
I probably need to make it use the rust-src lockfile. |
Hm... still no luck so far
This reminds me a bit of #4. |
After a lot more messing about I actually got something to run! Though I did edit the libstd sources quite a bit and I messed around quite a lot so I will have to figure out which part of that was necessary. |
This works now on CI. :) So far we only run a few tests to ensure the basic setup works; I hope to grow the test set over time. |
Many std tests will not work (since they use FFIs we don't support), but it could still make sense to run some of the tests in std -- for example, the mpsc tests. However, I can't get that to work. I pushed my WIP branch here, but it fails spectacularly -- the build of libs complains that it cannot find any of the things in
core
. Looks like some of the magic for the rustc workspace is not quite working out here, and I don't know what or how.core and alloc are fine as they have no external dependencies, but with std, this seems to all fall apart.
The text was updated successfully, but these errors were encountered: