diff --git a/Makefile b/Makefile index abcc758..c011c5d 100644 --- a/Makefile +++ b/Makefile @@ -4,8 +4,8 @@ build: cargo build cargo build --release - cargo build --target wasm32-wasi - cargo build --target wasm32-wasi --release + cargo build --target wasm32-wasip1 + cargo build --target wasm32-wasip1 --release @find . -type f -name Makefile | grep -v "^./Makefile" | while read dir; do \ echo "Executing in $$dir"; \ @@ -21,8 +21,8 @@ build: cp $$name plugins/$$(basename $$newFilename); \ done -# wasm32-wasi - @ls target/wasm32-wasi/release/*.wasm | while read name; do \ +# wasm32-wasip1 + @ls target/wasm32-wasip1/release/*.wasm | while read name; do \ for i in $(wasi_white_list); do \ if [ "$$i" = "$$(basename $$name | sed 's/\.wasm//g')" ]; then \ cp $$name plugins/; \ @@ -30,7 +30,7 @@ build: done; \ done - @ls target/wasm32-wasi/debug/*.wasm | while read name; do \ + @ls target/wasm32-wasip1/debug/*.wasm | while read name; do \ newFilename=$$(echo $$name | sed 's/\.wasm/.debug.wasm/g'); \ for i in $(wasi_white_list); do \ if [ "$$i" = "$$(basename $$name | sed 's/\.wasm//g')" ]; then \ diff --git a/count_vowels/Cargo.toml b/count_vowels/Cargo.toml index d54ba42..53e35fb 100644 --- a/count_vowels/Cargo.toml +++ b/count_vowels/Cargo.toml @@ -11,4 +11,4 @@ serde = {workspace = true} anyhow = {workspace = true} [lib] -crate_type = ["cdylib"] +crate-type = ["cdylib"] diff --git a/count_vowels_kvstore/Cargo.toml b/count_vowels_kvstore/Cargo.toml index 6a8691c..f335dc6 100644 --- a/count_vowels_kvstore/Cargo.toml +++ b/count_vowels_kvstore/Cargo.toml @@ -11,4 +11,4 @@ serde.workspace = true extism-pdk.workspace = true [lib] -crate_type = ["cdylib"] +crate-type = ["cdylib"] diff --git a/greet/Cargo.toml b/greet/Cargo.toml index 5b7a0b0..f7f0bc8 100644 --- a/greet/Cargo.toml +++ b/greet/Cargo.toml @@ -6,7 +6,7 @@ edition = "2021" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [lib] -crate_type = ["cdylib"] +crate-type = ["cdylib"] [dependencies] extism-pdk.workspace = true diff --git a/http/Cargo.toml b/http/Cargo.toml index 805d2b7..9077941 100644 --- a/http/Cargo.toml +++ b/http/Cargo.toml @@ -11,4 +11,4 @@ serde = {workspace = true} anyhow = {workspace = true} [lib] -crate_type = ["cdylib"] +crate-type = ["cdylib"] diff --git a/loop_forever/Cargo.toml b/loop_forever/Cargo.toml index db4a105..f04f3c4 100644 --- a/loop_forever/Cargo.toml +++ b/loop_forever/Cargo.toml @@ -9,4 +9,4 @@ edition = "2021" extism-pdk = {workspace = true} [lib] -crate_type = ["cdylib"] +crate-type = ["cdylib"] diff --git a/memory/Cargo.toml b/memory/Cargo.toml index 92c2cac..f545ea1 100644 --- a/memory/Cargo.toml +++ b/memory/Cargo.toml @@ -9,4 +9,4 @@ extism-pdk = {workspace = true} serde = {workspace = true} [lib] -crate_type = ["cdylib"] \ No newline at end of file +crate-type = ["cdylib"] \ No newline at end of file diff --git a/read_write/Cargo.toml b/read_write/Cargo.toml index e5d3149..5bc6f29 100644 --- a/read_write/Cargo.toml +++ b/read_write/Cargo.toml @@ -9,4 +9,4 @@ extism-pdk = {workspace = true} serde = {workspace = true} [lib] -crate_type = ["cdylib"] \ No newline at end of file +crate-type = ["cdylib"] \ No newline at end of file diff --git a/reflect/Cargo.toml b/reflect/Cargo.toml index c00a8e4..026b113 100644 --- a/reflect/Cargo.toml +++ b/reflect/Cargo.toml @@ -11,4 +11,4 @@ extism-pdk = {workspace = true} serde = {workspace = true} [lib] -crate_type = ["cdylib"] +crate-type = ["cdylib"] diff --git a/store_credit/Cargo.toml b/store_credit/Cargo.toml index 6f330eb..4ce4bbf 100644 --- a/store_credit/Cargo.toml +++ b/store_credit/Cargo.toml @@ -11,4 +11,4 @@ extism-pdk = {workspace = true} serde = {workspace = true} [lib] -crate_type = ["cdylib"] +crate-type = ["cdylib"]