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

Only support sim in test_enclave #163

Merged
merged 1 commit into from
Oct 13, 2022
Merged

Only support sim in test_enclave #163

merged 1 commit into from
Oct 13, 2022

Conversation

nick-mobilecoin
Copy link
Collaborator

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.

@github-actions github-actions bot added the size/S PRs with less than 100 lines of changes label Oct 10, 2022
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.
@codecov-commenter
Copy link

Codecov Report

Merging #163 (9dafcbe) into feature/pre-release-0.2.1 (a5578ab) will not change coverage.
The diff coverage is n/a.

@@                    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

Copy link
Contributor

@NotGyro NotGyro left a 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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
size/S PRs with less than 100 lines of changes
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

5 participants