Skip to content

Commit

Permalink
chore: avoid copying Cargo.toml to generated components
Browse files Browse the repository at this point in the history
Copy only the worker configuration
  • Loading branch information
ereslibre committed Oct 3, 2023
1 parent 6710bf4 commit df0001d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ rust-params:
$(COMPONENTS):
mkdir -p $@
make $(@:components/%=%)
cp $(@:components/%=%)/*.toml $@/
cp $(@:components/%=%)/$(@:components/%=%).toml $@/
wasm-tools component new $(@:components/%=%)/$(@:components/%=%).wasm \
--adapt wasi_snapshot_preview1=components/wasi-component-adapter/wasi_snapshot_preview1-command.wasm \
-o $@/$(@:components/%=%).wasm
Expand Down

0 comments on commit df0001d

Please sign in to comment.