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

chore/fix cardano wasm integration test #204

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion wasm/integration-test/cardano/Earthfile
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,4 @@ get-local-bindings:

COPY ../../wasi+build-rust-bindings/hermes.rs hermes.rs

SAVE ARTIFACT hermes.rs AS LOCAL src/hermes.rs
SAVE ARTIFACT hermes.rs AS LOCAL src/hermes.rs
2 changes: 1 addition & 1 deletion wasm/integration-test/cardano/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -97,4 +97,4 @@ impl hermes::exports::wasi::http::incoming_handler::Guest for TestComponent {
fn handle(_request: IncomingRequest, _response_out: ResponseOutparam) {}
}

hermes::export!(TestComponent);
hermes::export!(TestComponent with_types_in hermes);
2 changes: 1 addition & 1 deletion wasm/wasi-hermes-component-adapter/Earthfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ VERSION 0.7

# Set up our target toolchains, and copy source files.
builder:
DO github.com/input-output-hk/catalyst-ci/earthly/rust:v2.11.0+SETUP
DO github.com/input-output-hk/catalyst-ci/earthly/rust:refs/heads/chore/update-wit-binding-cli+SETUP
Copy link
Author

Choose a reason for hiding this comment

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

This must be changed to the release version of catalyst-ci in this PR: #204 before merging.


COPY --dir .cargo .config src byte-array-literals .
COPY ..+wasi-src/wasi ../wasi
Expand Down
2 changes: 1 addition & 1 deletion wasm/wasi/Earthfile
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ build:
build-rust-bindings:
FROM ../wasi-hermes-component-adapter+builder

RUN wit-bindgen rust ../wasi/wit --stubs
RUN wit-bindgen rust ../wasi/wit

SAVE ARTIFACT hermes.rs

Expand Down
Loading