@@ -107,7 +107,7 @@ if [ "$single_lang" = "false" ] || [ "$lang" = "zig" ]; then
107107 echo " Turning the module into a WebAssembly Component..."
108108 target=" ../$subdir .wasm"
109109 target_wat=" ../$subdir .wat"
110- wasm-tools component new zig-out/bin/main.wasm -o " $target " --adapt ../../golem-wit/adapters/tier3/wasi_snapshot_preview1.wasm
110+ wasm-tools component new zig-out/bin/main.wasm -o " $target " --adapt ../../golem-worker-executor-base/golem- wit/adapters/tier3/wasi_snapshot_preview1.wasm
111111 wasm-tools print " $target " > " $target_wat "
112112
113113 popd || exit
@@ -131,7 +131,7 @@ if [ "$single_lang" = "false" ] || [ "$lang" = "tinygo" ]; then
131131 target=" ../$subdir .wasm"
132132 target_wat=" ../$subdir .wat"
133133 wasm-tools component embed ./wit main.wasm --output main.embed.wasm
134- wasm-tools component new main.embed.wasm -o " $target " --adapt ../../golem-wit/adapters/tier2/wasi_snapshot_preview1.wasm
134+ wasm-tools component new main.embed.wasm -o " $target " --adapt ../../golem-worker-executor-base/golem- wit/adapters/tier2/wasi_snapshot_preview1.wasm
135135 wasm-tools print " $target " > " $target_wat "
136136
137137 popd || exit
@@ -152,7 +152,7 @@ if [ "$single_lang" = "false" ] || [ "$lang" = "grain" ]; then
152152 echo " Turning the module into a WebAssembly Component..."
153153 target=" ../$subdir .wasm"
154154 target_wat=" ../$subdir .wat"
155- wasm-tools component new main.gr.wasm -o " $target " --adapt ../../golem-wit/adapters/tier3/wasi_snapshot_preview1.wasm
155+ wasm-tools component new main.gr.wasm -o " $target " --adapt ../../golem-worker-executor-base/golem- wit/adapters/tier3/wasi_snapshot_preview1.wasm
156156 wasm-tools print " $target " > " $target_wat "
157157
158158 popd || exit
@@ -199,7 +199,7 @@ if [ "$single_lang" = "false" ] || [ "$lang" = "java" ]; then
199199 echo " Turning the module into a WebAssembly Component..."
200200 target=" ../$subdir .wasm"
201201 target_wat=" ../$subdir .wat"
202- wasm-tools component new target/generated/wasm/teavm-wasm/classes.wasm -o " $target " --adapt ../../golem-wit/adapters/tier2/wasi_snapshot_preview1.wasm
202+ wasm-tools component new target/generated/wasm/teavm-wasm/classes.wasm -o " $target " --adapt ../../golem-worker-executor-base/golem- wit/adapters/tier2/wasi_snapshot_preview1.wasm
203203 wasm-tools print " $target " > " $target_wat "
204204
205205 popd || exit
@@ -220,7 +220,7 @@ if [ "$single_lang" = "false" ] || [ "$lang" = "dotnet" ]; then
220220 echo " Turning the module into a WebAssembly Component..."
221221 target=" ../$subdir .wasm"
222222 target_wat=" ../$subdir .wat"
223- wasm-tools component new bin/Release/net7.0/$subdir .wasm -o " $target " --adapt ../../golem-wit/adapters/tier3/wasi_snapshot_preview1.wasm
223+ wasm-tools component new bin/Release/net7.0/$subdir .wasm -o " $target " --adapt ../../golem-worker-executor-base/golem- wit/adapters/tier3/wasi_snapshot_preview1.wasm
224224 wasm-tools print " $target " > " $target_wat "
225225
226226 popd || exit
@@ -242,7 +242,7 @@ if [ "$single_lang" = "false" ] || [ "$lang" = "swift" ]; then
242242 echo " Turning the module into a WebAssembly Component..."
243243 target=" ../$subdir .wasm"
244244 target_wat=" ../$subdir .wat"
245- wasm-tools component new main.opt.wasm -o " $target " --adapt ../../golem-wit/adapters/tier3/wasi_snapshot_preview1.wasm
245+ wasm-tools component new main.opt.wasm -o " $target " --adapt ../../golem-worker-executor-base/golem- wit/adapters/tier3/wasi_snapshot_preview1.wasm
246246 wasm-tools print " $target " > " $target_wat "
247247
248248 popd || exit
@@ -264,7 +264,7 @@ if [ "$single_lang" = "false" ] || [ "$lang" = "c" ]; then
264264 echo " Turning the module into a WebAssembly Component..."
265265 target=" ../$subdir .wasm"
266266 target_wat=" ../$subdir .wat"
267- wasm-tools component new main.wasm -o " $target " --adapt ../../golem-wit/adapters/tier2/wasi_snapshot_preview1.wasm
267+ wasm-tools component new main.wasm -o " $target " --adapt ../../golem-worker-executor-base/golem- wit/adapters/tier2/wasi_snapshot_preview1.wasm
268268 wasm-tools print " $target " > " $target_wat "
269269
270270 popd || exit
0 commit comments