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

fix: propagate features to bindeps #1788

Merged
merged 1 commit into from
Apr 26, 2022
Merged

Conversation

haraldh
Copy link
Member

@haraldh haraldh commented Apr 26, 2022

Fixup of commit 5639b58, which removed
all default features.

Fixes: #1780

Signed-off-by: Harald Hoyer harald@profian.com

@github-actions github-actions bot added amd sev Issues related to AMD SEV kvm wasm Issues related to WebAssembly labels Apr 26, 2022
@enarxbot enarxbot enabled auto-merge (rebase) April 26, 2022 13:24
@haraldh
Copy link
Member Author

haraldh commented Apr 26, 2022

@bstrie too bad making the bindeps shims optional does not work somehow.

@codecov
Copy link

codecov bot commented Apr 26, 2022

Codecov Report

Merging #1788 (b55af18) into main (36f19c2) will increase coverage by 10.78%.
The diff coverage is n/a.

@@             Coverage Diff             @@
##             main    #1788       +/-   ##
===========================================
+ Coverage   43.87%   54.66%   +10.78%     
===========================================
  Files         121      151       +30     
  Lines        6284    10316     +4032     
===========================================
+ Hits         2757     5639     +2882     
- Misses       3527     4677     +1150     
Impacted Files Coverage Δ
crates/shim-kvm/src/snp/cpuid_page.rs 0.00% <0.00%> (ø)
crates/sallyport/src/guest/call/syscall/tests.rs 100.00% <0.00%> (ø)
crates/shim-kvm/src/random.rs 0.00% <0.00%> (ø)
crates/shim-sgx/src/handler/usermem.rs 0.00% <0.00%> (ø)
crates/shim-sgx/src/heap.rs 82.55% <0.00%> (ø)
crates/shim-kvm/src/exec.rs 0.00% <0.00%> (ø)
crates/shim-kvm/src/gdt.rs 0.00% <0.00%> (ø)
crates/shim-sgx/src/handler/mod.rs 0.00% <0.00%> (ø)
crates/shim-kvm/src/usermode.rs 0.00% <0.00%> (ø)
crates/shim-kvm/src/interrupts.rs 0.00% <0.00%> (ø)
... and 86 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 36f19c2...b55af18. Read the comment docs.

@bstrie
Copy link
Contributor

bstrie commented Apr 26, 2022

Making bindeps optional is tracked by rust-lang/cargo#10526 .

Cargo.toml Outdated Show resolved Hide resolved
@jarkkojs
Copy link
Contributor

I'll test this soon. The change itself looks legit.

jarkkojs
jarkkojs previously approved these changes Apr 26, 2022
Copy link
Contributor

@jarkkojs jarkkojs left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

disable-sgx-attestation and dbg work for shim-sgx

Fixup of commit 5639b58, which removed
all default features.

Signed-off-by: Harald Hoyer <harald@profian.com>
@enarxbot enarxbot merged commit 2c222e9 into enarx:main Apr 26, 2022
@haraldh haraldh deleted the propagate_features branch July 4, 2022 09:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
amd sev Issues related to AMD SEV kvm wasm Issues related to WebAssembly
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug]: feature flags have no effect to shim-sgx
4 participants