From e7912d6c8173a29b20af26ec469cc9870bc026ea Mon Sep 17 00:00:00 2001 From: Tyler McMullen Date: Mon, 13 Jan 2025 12:33:20 -0800 Subject: [PATCH] Update target from wasm32-wasi to wasm32-wasip1 --- .cargo/config.toml | 4 ++-- .../esi_example_advanced_error_handling/.cargo/config.toml | 4 ++-- examples/esi_example_minimal/.cargo/config.toml | 4 ++-- examples/esi_example_variants/.cargo/config.toml | 4 ++-- examples/esi_try_example/.cargo/config.toml | 4 ++-- examples/esi_vars_example/.cargo/config.toml | 4 ++-- 6 files changed, 12 insertions(+), 12 deletions(-) diff --git a/.cargo/config.toml b/.cargo/config.toml index ed8bea2..6c4af76 100644 --- a/.cargo/config.toml +++ b/.cargo/config.toml @@ -1,6 +1,6 @@ [build] -target = "wasm32-wasi" +target = "wasm32-wasip1" -[target.wasm32-wasi] +[target.wasm32-wasip1] rustflags = ["-C", "debuginfo=2"] runner = "viceroy run -- " diff --git a/examples/esi_example_advanced_error_handling/.cargo/config.toml b/examples/esi_example_advanced_error_handling/.cargo/config.toml index 0787801..0fa087c 100644 --- a/examples/esi_example_advanced_error_handling/.cargo/config.toml +++ b/examples/esi_example_advanced_error_handling/.cargo/config.toml @@ -1,6 +1,6 @@ -[target.wasm32-wasi] +[target.wasm32-wasip1] rustflags = ["-C", "debuginfo=2"] runner = "viceroy run -C fastly.toml -- " [build] -target = "wasm32-wasi" +target = "wasm32-wasip1" diff --git a/examples/esi_example_minimal/.cargo/config.toml b/examples/esi_example_minimal/.cargo/config.toml index 0787801..0fa087c 100644 --- a/examples/esi_example_minimal/.cargo/config.toml +++ b/examples/esi_example_minimal/.cargo/config.toml @@ -1,6 +1,6 @@ -[target.wasm32-wasi] +[target.wasm32-wasip1] rustflags = ["-C", "debuginfo=2"] runner = "viceroy run -C fastly.toml -- " [build] -target = "wasm32-wasi" +target = "wasm32-wasip1" diff --git a/examples/esi_example_variants/.cargo/config.toml b/examples/esi_example_variants/.cargo/config.toml index 0787801..0fa087c 100644 --- a/examples/esi_example_variants/.cargo/config.toml +++ b/examples/esi_example_variants/.cargo/config.toml @@ -1,6 +1,6 @@ -[target.wasm32-wasi] +[target.wasm32-wasip1] rustflags = ["-C", "debuginfo=2"] runner = "viceroy run -C fastly.toml -- " [build] -target = "wasm32-wasi" +target = "wasm32-wasip1" diff --git a/examples/esi_try_example/.cargo/config.toml b/examples/esi_try_example/.cargo/config.toml index 0787801..0fa087c 100644 --- a/examples/esi_try_example/.cargo/config.toml +++ b/examples/esi_try_example/.cargo/config.toml @@ -1,6 +1,6 @@ -[target.wasm32-wasi] +[target.wasm32-wasip1] rustflags = ["-C", "debuginfo=2"] runner = "viceroy run -C fastly.toml -- " [build] -target = "wasm32-wasi" +target = "wasm32-wasip1" diff --git a/examples/esi_vars_example/.cargo/config.toml b/examples/esi_vars_example/.cargo/config.toml index 0787801..0fa087c 100644 --- a/examples/esi_vars_example/.cargo/config.toml +++ b/examples/esi_vars_example/.cargo/config.toml @@ -1,6 +1,6 @@ -[target.wasm32-wasi] +[target.wasm32-wasip1] rustflags = ["-C", "debuginfo=2"] runner = "viceroy run -C fastly.toml -- " [build] -target = "wasm32-wasi" +target = "wasm32-wasip1"