-
Notifications
You must be signed in to change notification settings - Fork 769
cpu/aarch64/windows: Use libstd instead of windows_sys. #2570
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
base: main
Are you sure you want to change the base?
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #2570 +/- ##
==========================================
- Coverage 96.56% 95.70% -0.86%
==========================================
Files 181 181
Lines 19799 19799
Branches 504 504
==========================================
- Hits 19119 18949 -170
- Misses 571 715 +144
- Partials 109 135 +26 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
8c6403b
to
934b22e
Compare
Eliminate the windows-sys dependency on Aarch64. We believe there is no use for `no_std` support for this target.
Hey there, I wanted to follow up a point mentioned in the PR description:
My current belief is that this isn't fully accurate. Microsoft is releasing VBS enclaves for Windows 11, which run
ring dropping support for |
Thanks. What is the target triple for VBS enclaves? |
To my knowledge the target triples are identical, the only differences is the libs and flags passed to the linker. This blog mentions a Rust-based PoC someone at MS put together. I don't see any non-standard Rust targets in the repository. It only uses those flags and |
Does I wonder if there is some way we could run the tests in an enclave in CI? |
I don't have an enclave dev environment set up at this moment, sorry, but I can get back to you later on checking if
I don't believe it'd be possible today for several reasons, at least on GitHub-hosted CI. It requires VBS features to be enabled (which means the Windows host for the test code to run on needs to be able to do virtualization) and it needs a bleeding edge Windows 11 release. Everything else seems workable long-term but I think the nested virtualization would be an issue. |
Eliminate the windows-sys dependency on Aarch64. We believe there is no use for
no_std
support for this target.