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}}"
33authors = ["{{authors}}"]
44description = "{{project-description}}"
55version = "0.1.0"
6+ rust-version = "1.78"
67edition = "2021"
78
89[lib]
Original file line number Diff line number Diff line change @@ -11,8 +11,8 @@ route = "{{http-path}}"
1111component = " {{project-name | kebab_case}}"
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,6 +3,7 @@ name = "{{project-name | kebab_case}}"
33authors = ["{{authors}}"]
44description = "{{project-description}}"
55version = "0.1.0"
6+ rust-version = "1.78"
67edition = "2021"
78
89[lib]
Original file line number Diff line number Diff line change @@ -14,8 +14,8 @@ channel = "{{redis-channel}}"
1414component = " {{project-name | kebab_case}}"
1515
1616[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"
1818allowed_outbound_hosts = []
1919[component .{{project-name | kebab_case}} .build ]
20- command = " cargo build --target wasm32-wasi --release"
20+ command = " cargo build --target wasm32-wasip1 --release"
2121watch = [" src/**/*.rs" , " Cargo.toml" ]
You can’t perform that action at this time.
0 commit comments