-
Notifications
You must be signed in to change notification settings - Fork 7
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
Only support sim
in test_enclave
#163
Conversation
Current dependencies on/for this PR:
This comment was auto-generated by Graphite. |
e202602
to
4e9ce96
Compare
Previously the `test_enclave` had a `sim` feature. The `sim` feature was used to build the `test_enclave` in a sim environment. Cargo currently doesn't support feature propagation to _only_ dev dependencies. Always propagating `sim` to the `test_enclave` resulted in failures to package `mc-sgx-urts` as `mc-sgx-urts` was now looking for a published version of `test_enclave`. Now `test_enclave` will only build for the simulation SGX SDK, there is no feature flag to add or remove this.
4e9ce96
to
9dafcbe
Compare
Codecov Report
@@ Coverage Diff @@
## feature/pre-release-0.2.1 #163 +/- ##
==========================================================
Coverage 84.56% 84.56%
==========================================================
Files 44 44
Lines 2390 2390
==========================================================
Hits 2021 2021
Misses 369 369 📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me. I was able to build test_enclave on my AMD laptop. This should be all set.
Previously the
test_enclave
had asim
feature. Thesim
featurewas used to build the
test_enclave
in a sim environment. Cargocurrently doesn't support feature propagation to only dev
dependencies. Always propagating
sim
to thetest_enclave
resulted infailures to package
mc-sgx-urts
asmc-sgx-urts
was now looking for apublished version of
test_enclave
. Nowtest_enclave
will only buildfor the simulation SGX SDK, there is no feature flag to add or remove
this.