Skip to content

Commit

Permalink
rename rust -> components
Browse files Browse the repository at this point in the history
  • Loading branch information
StuartHarris committed Aug 12, 2024
1 parent 6af1672 commit aab4ee8
Show file tree
Hide file tree
Showing 43 changed files with 20 additions and 0 deletions.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
9 changes: 9 additions & 0 deletions wasm-components/deploy/spin/products/compose.fish
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
#!/usr/bin/env fish

set SCRIPT_DIR (dirname (realpath (status --current-filename)))
set ROOT_DIR (realpath $SCRIPT_DIR/../../..)
set COMPONENTS_DIR $ROOT_DIR/components
set DIR $COMPONENTS_DIR/target/wasm32-wasip2/release

pushd $COMPONENTS_DIR
cargo build
11 changes: 11 additions & 0 deletions wasm-components/deploy/spin/products/compose.wac
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
package platform-poc:products;

let p = new platform-poc:products-service {
...
};

let h = new platform-poc:products-http {
...
};

export h.incoming-handler;

0 comments on commit aab4ee8

Please sign in to comment.