Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
andrzejressel committed Jul 9, 2024
1 parent f8e2587 commit 1b9cbd5
Show file tree
Hide file tree
Showing 10 changed files with 18 additions and 23 deletions.
2 changes: 1 addition & 1 deletion .templates/examples.justfile.template
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
set windows-shell := ["pwsh.exe", "-c"]

run:
cargo run -p pulumi_wasm_runner -- run --wasm ../../target/wasm32-wasi/debug/pulumi/pulumi_wasm_example_docker.wasm
cargo run -p pulumi_wasm_runner -- run --wasm ../../target/wasm32-wasip1/debug/pulumi/pulumi_wasm_example_docker.wasm

[windows]
local-test:
Expand Down
5 changes: 0 additions & 5 deletions docs/cargo-pulumi.md

This file was deleted.

6 changes: 3 additions & 3 deletions examples/dependencies/justfile
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
set windows-shell := ["pwsh.exe", "-c"]
binary := "../../target/debug/pulumi_wasm_runner"
wasm := "../../target/wasm32-wasi/debug/pulumi_wasm_example_dependencies.wasm"
pulumi_wasm := "../../target/wasm32-wasi/debug/pulumi_wasm.wasm"
random := "../../target/wasm32-wasi/debug/pulumi_wasm_random_provider.wasm"
wasm := "../../target/wasm32-wasip1/debug/pulumi_wasm_example_dependencies.wasm"
pulumi_wasm := "../../target/wasm32-wasip1/debug/pulumi_wasm.wasm"
random := "../../target/wasm32-wasip1/debug/pulumi_wasm_random_provider.wasm"

run:
{{binary}} run --pulumi-wasm "{{pulumi_wasm}}" --provider "{{random}}" "{{wasm}}"
Expand Down
6 changes: 3 additions & 3 deletions examples/docker/justfile
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
set windows-shell := ["pwsh.exe", "-c"]
binary := "../../target/debug/pulumi_wasm_runner"
wasm := "../../target/wasm32-wasi/debug/pulumi_wasm_example_docker.wasm"
pulumi_wasm := "../../target/wasm32-wasi/debug/pulumi_wasm.wasm"
docker := "../../target/wasm32-wasi/debug/pulumi_wasm_docker_provider.wasm"
wasm := "../../target/wasm32-wasip1/debug/pulumi_wasm_example_docker.wasm"
pulumi_wasm := "../../target/wasm32-wasip1/debug/pulumi_wasm.wasm"
docker := "../../target/wasm32-wasip1/debug/pulumi_wasm_docker_provider.wasm"

run:
{{binary}} run --pulumi-wasm "{{pulumi_wasm}}" --provider "{{docker}}" "{{wasm}}"
Expand Down
8 changes: 4 additions & 4 deletions examples/multiple_providers/justfile
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
set windows-shell := ["pwsh.exe", "-c"]
binary := "../../target/debug/pulumi_wasm_runner"
wasm := "../../target/wasm32-wasi/debug/pulumi_wasm_example_multiple_providers.wasm"
pulumi_wasm := "../../target/wasm32-wasi/debug/pulumi_wasm.wasm"
docker := "../../target/wasm32-wasi/debug/pulumi_wasm_docker_provider.wasm"
random := "../../target/wasm32-wasi/debug/pulumi_wasm_random_provider.wasm"
wasm := "../../target/wasm32-wasip1/debug/pulumi_wasm_example_multiple_providers.wasm"
pulumi_wasm := "../../target/wasm32-wasip1/debug/pulumi_wasm.wasm"
docker := "../../target/wasm32-wasip1/debug/pulumi_wasm_docker_provider.wasm"
random := "../../target/wasm32-wasip1/debug/pulumi_wasm_random_provider.wasm"

run:
{{binary}} run --pulumi-wasm "{{pulumi_wasm}}" --provider "{{docker}}" --provider "{{random}}" "{{wasm}}"
Expand Down
6 changes: 3 additions & 3 deletions examples/simple/justfile
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
set windows-shell := ["pwsh.exe", "-c"]
binary := "../../target/debug/pulumi_wasm_runner"
wasm := "../../target/wasm32-wasi/debug/pulumi_wasm_example_simple.wasm"
pulumi_wasm := "../../target/wasm32-wasi/debug/pulumi_wasm.wasm"
random := "../../target/wasm32-wasi/debug/pulumi_wasm_random_provider.wasm"
wasm := "../../target/wasm32-wasip1/debug/pulumi_wasm_example_simple.wasm"
pulumi_wasm := "../../target/wasm32-wasip1/debug/pulumi_wasm.wasm"
random := "../../target/wasm32-wasip1/debug/pulumi_wasm_random_provider.wasm"

run:
{{binary}} run --pulumi-wasm "{{pulumi_wasm}}" --provider "{{random}}" "{{wasm}}"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
[toolchain]
channel = "1.79.0"
targets = ["wasm32-wasi"]
targets = ["wasm32-wasip1"]
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
[toolchain]
channel = "1.79.0"
targets = ["wasm32-wasi"]
targets = ["wasm32-wasip1"]
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
[toolchain]
channel = "1.79.0"
targets = ["wasm32-wasi"]
targets = ["wasm32-wasip1"]
2 changes: 1 addition & 1 deletion rust-toolchain.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
[toolchain]
channel = "1.79.0"
targets = ["wasm32-wasi"]
targets = ["wasm32-wasip1"]

0 comments on commit 1b9cbd5

Please sign in to comment.