File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ authors = ["{{authors}}"]
44description = "{{project-description}}"
55version = "0.1.0"
66edition = "2021"
7- rust-version = "1.71 "
7+ rust-version = "1.78 "
88
99[lib]
1010crate-type = ["cdylib"]
Original file line number Diff line number Diff line change @@ -11,8 +11,8 @@ component = "{{project-name | kebab_case}}"
1111cron_expression = " {{cron-expression}}"
1212
1313[component .{{project-name | kebab_case}} ]
14- source = " target/wasm32-wasi /release/{{project-name | snake_case}}.wasm"
14+ source = " target/wasm32-wasip1 /release/{{project-name | snake_case}}.wasm"
1515allowed_outbound_hosts = []
1616[component .{{project-name | kebab_case}} .build ]
17- command = " cargo build --target wasm32-wasi --release"
17+ command = " cargo build --target wasm32-wasip1 --release"
1818watch = [" src/**/*.rs" , " Cargo.toml" ]
Original file line number Diff line number Diff line change @@ -3,9 +3,9 @@ component = "{{project-name | kebab_case}}"
33cron_expression = "{{cron-expression}}"
44
55[component.{{project-name | kebab_case}}]
6- source = "{{ output-path }}/target/wasm32-wasi /release/{{project-name | snake_case}}.wasm"
6+ source = "{{ output-path }}/target/wasm32-wasip1 /release/{{project-name | snake_case}}.wasm"
77allowed_outbound_hosts = []
88[component.{{project-name | kebab_case}}.build]
9- command = "cargo build --target wasm32-wasi --release"
9+ command = "cargo build --target wasm32-wasip1 --release"
1010workdir = "{{ output-path }}"
1111watch = ["src/**/*.rs", "Cargo.toml"]
You can’t perform that action at this time.
0 commit comments