Skip to content

Commit 5c726a9

Browse files
committed
Update path of Rust SDK
1 parent a053489 commit 5c726a9

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,8 @@ jobs:
4141
with:
4242
ref: ${{ env.GIT_REF }}
4343
- uses: dsherret/rust-toolchain-file@v1
44+
- name: Install wasm target
45+
run: rustup target add wasm32-unknown-unknown
4446
- uses: actions/setup-dotnet@v4
4547
with:
4648
global-json-file: modules/global.json

smoketests/tests/quickstart.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,6 @@ def sdk_setup(self, path: Path):
7979

8080
def _publish(self) -> Path:
8181
base_path = Path(self.enterClassContext(tempfile.TemporaryDirectory()))
82-
8382
server_path = base_path / "server"
8483
self.project_path = server_path
8584
self.config_path = server_path / "config.toml"
@@ -166,7 +165,7 @@ def project_init(self, path: Path):
166165
capture_stderr=True)
167166

168167
def sdk_setup(self, path: Path):
169-
sdk_rust_path = (STDB_DIR / "crates/sdk").absolute()
168+
sdk_rust_path = (STDB_DIR / "sdks/rust").absolute()
170169
sdk_rust_toml_escaped = str(sdk_rust_path).replace('\\', '\\\\\\\\') # double escape for re.sub + toml
171170
sdk_rust_toml = f'spacetimedb-sdk = {{ path = "{sdk_rust_toml_escaped}" }}\nlog = "0.4"\nhex = "0.4"\n'
172171
_append_to_file(path / "Cargo.toml", sdk_rust_toml)

0 commit comments

Comments
 (0)