File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change 41
41
with :
42
42
ref : ${{ env.GIT_REF }}
43
43
- uses : dsherret/rust-toolchain-file@v1
44
+ - name : Install wasm target
45
+ run : rustup target add wasm32-unknown-unknown
44
46
- uses : actions/setup-dotnet@v4
45
47
with :
46
48
global-json-file : modules/global.json
Original file line number Diff line number Diff line change @@ -79,7 +79,6 @@ def sdk_setup(self, path: Path):
79
79
80
80
def _publish (self ) -> Path :
81
81
base_path = Path (self .enterClassContext (tempfile .TemporaryDirectory ()))
82
-
83
82
server_path = base_path / "server"
84
83
self .project_path = server_path
85
84
self .config_path = server_path / "config.toml"
@@ -166,7 +165,7 @@ def project_init(self, path: Path):
166
165
capture_stderr = True )
167
166
168
167
def sdk_setup (self , path : Path ):
169
- sdk_rust_path = (STDB_DIR / "crates/sdk " ).absolute ()
168
+ sdk_rust_path = (STDB_DIR / "sdks/rust " ).absolute ()
170
169
sdk_rust_toml_escaped = str (sdk_rust_path ).replace ('\\ ' , '\\ \\ \\ \\ ' ) # double escape for re.sub + toml
171
170
sdk_rust_toml = f'spacetimedb-sdk = {{ path = "{ sdk_rust_toml_escaped } " }}\n log = "0.4"\n hex = "0.4"\n '
172
171
_append_to_file (path / "Cargo.toml" , sdk_rust_toml )
You can’t perform that action at this time.
0 commit comments