-
Notifications
You must be signed in to change notification settings - Fork 2
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
Bump lcp to v0.2.10 #8
Conversation
e2e/Enclave.mk
Outdated
@@ -130,6 +129,6 @@ $(Signed_RustEnclave_Name): $(RustEnclave_Name) | |||
|
|||
.PHONY: enclave | |||
enclave: | |||
@cd enclave && RUSTFLAGS=$(RUSTFLAGS) cargo build $(CARGO_TARGET) $(CARGO_FEATURES) | |||
cd enclave && RUSTFLAGS=$(RUSTFLAGS) cargo build $(CARGO_TARGET) $(CARGO_FEATURES) |
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.
Is this change needed?
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.
Sorry, it's my mistake. I'll revert it. 🙇🏼♂️
e2e/Enclave.mk
Outdated
@@ -52,7 +49,8 @@ endif | |||
|
|||
SGX_COMMON_CFLAGS += -fstack-protector | |||
|
|||
CARGO_FEATURES = --features=default | |||
ENCLAVE_CARGO_FEATURES = --features=default | |||
APP_CARGO_FEATURES = --features=default |
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 like APP_CARGO_FEATURES
is unused and not necessary. I think these changes (*_CARGO_FEATURES) are unnecessary.
# cargo-machete found the following unused dependencies in this directory: | ||
# light-client -- ./e2e/lcp/modules/light-client/Cargo.toml: | ||
# serde | ||
lcp/ |
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.
I didn't realize this. In cases where the ibc
feature is not enabled, serde
may not be necessary.
@@ -52,27 +49,20 @@ endif | |||
|
|||
SGX_COMMON_CFLAGS += -fstack-protector | |||
|
|||
CARGO_FEATURES = --features=default |
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.
@junichi-tanaka Can you also remove CARGO_FEATURES
reference in enclave
target?
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.
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.
LGTM👍
Why
What Changed