Skip to content

Conversation

@coolreader18
Copy link
Collaborator

Description of Changes

My guess as to the problem was that there were static libs in the dependency graph that were wanting to statically link to libc functions, but rustc didn't know we wanted to link libc statically - so adding +crt-static fixes it.

API and ABI breaking changes

Expected complexity level and risk

1

Testing

  • Builds successfully on windows now.

Copy link
Contributor

@rekhoff rekhoff left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested the following:
cargo build - Passed
cargo run -p spacetimedb-standalone - Passed
cargo run -p spacetimedb-cli - Passed
cargo run -p spacetimedb-update - Passed
Currently not all tests pass when cargo test is ran, but they seem to fail at test cli::self_install::tests::ensure_script_help_is_up_to_date which is part of the cargo test -p spacetimedb-update test. I've confirmed this was still failing at 1.4.0's release on both my Windows system, so shouldn't be a blocker here. Just a note for the future. (Recorded the issue in #3420)
With the above tests and the CI testing passing, I'm approving this change.

@coolreader18 coolreader18 added this pull request to the merge queue Oct 16, 2025
Merged via the queue into master with commit bf177c5 Oct 16, 2025
26 checks passed
@coolreader18 coolreader18 deleted the noa/fix-windows branch October 17, 2025 03:22
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.

3 participants