File tree Expand file tree Collapse file tree 4 files changed +6
-4
lines changed Expand file tree Collapse file tree 4 files changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -3,6 +3,7 @@ name = "{{project-name | kebab_case}}"
3
3
authors = ["{{authors}}"]
4
4
description = "{{project-description}}"
5
5
version = "0.1.0"
6
+ rust-version = "1.78"
6
7
edition = "2021"
7
8
8
9
[lib]
Original file line number Diff line number Diff line change @@ -11,8 +11,8 @@ route = "{{http-path}}"
11
11
component = " {{project-name | kebab_case}}"
12
12
13
13
[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"
15
15
allowed_outbound_hosts = []
16
16
[component .{{project-name | kebab_case}} .build ]
17
- command = " cargo build --target wasm32-wasi --release"
17
+ command = " cargo build --target wasm32-wasip1 --release"
18
18
watch = [" src/**/*.rs" , " Cargo.toml" ]
Original file line number Diff line number Diff line change @@ -3,6 +3,7 @@ name = "{{project-name | kebab_case}}"
3
3
authors = ["{{authors}}"]
4
4
description = "{{project-description}}"
5
5
version = "0.1.0"
6
+ rust-version = "1.78"
6
7
edition = "2021"
7
8
8
9
[lib]
Original file line number Diff line number Diff line change @@ -14,8 +14,8 @@ channel = "{{redis-channel}}"
14
14
component = " {{project-name | kebab_case}}"
15
15
16
16
[component .{{project-name | kebab_case}} ]
17
- source = " target/wasm32-wasi /release/{{project-name | snake_case}}.wasm"
17
+ source = " target/wasm32-wasip1 /release/{{project-name | snake_case}}.wasm"
18
18
allowed_outbound_hosts = []
19
19
[component .{{project-name | kebab_case}} .build ]
20
- command = " cargo build --target wasm32-wasi --release"
20
+ command = " cargo build --target wasm32-wasip1 --release"
21
21
watch = [" src/**/*.rs" , " Cargo.toml" ]
You can’t perform that action at this time.
0 commit comments