Skip to content

Compilation guard && tokio::sync re-export from runtime crate.#5255

Merged
Shubham8287 merged 4 commits into
masterfrom
shub/runtime-base
Jun 15, 2026
Merged

Compilation guard && tokio::sync re-export from runtime crate.#5255
Shubham8287 merged 4 commits into
masterfrom
shub/runtime-base

Conversation

@Shubham8287

Copy link
Copy Markdown
Contributor

Description of Changes

Runtime specific changes from #5113.

  • spacetimedb-runtime enforces exactly one feature at compile time: tokio or simulation. It rejects both-enabled and neither-enabled builds explicitly.

  • This also keeps tokio::sync re-exported from runtime, look at code comment for reasoning.

API and ABI breaking changes

NA

Expected complexity level and risk

1

@Shubham8287 Shubham8287 changed the title Shub/runtime base Compilation guard && tokio::sync re-export from runtime crate. Jun 9, 2026
Comment thread crates/runtime/src/lib.rs
Comment thread crates/runtime/src/lib.rs Outdated
@Shubham8287 Shubham8287 enabled auto-merge June 15, 2026 07:55
@Shubham8287 Shubham8287 added this pull request to the merge queue Jun 15, 2026
Merged via the queue into master with commit 2fd8a87 Jun 15, 2026
32 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants