Skip to content

Fix release build#193

Merged
jonhoo merged 6 commits into
mainfrom
fix-release-build
Dec 27, 2024
Merged

Fix release build#193
jonhoo merged 6 commits into
mainfrom
fix-release-build

Conversation

@jonhoo
Copy link
Copy Markdown
Owner

@jonhoo jonhoo commented Dec 27, 2024

PR #179 broke release builds by making it necessary for LiveAskQuestion and SEED to both now be available regardless of whether debug_assertions is set. That's unfortunate, since SEED in particular would make the binary quite large. So I've instead made it so that in release mode (or rather, without debug_assertions), SEED is not compiled in, and DynamoDB mode is always used.

I've also added a CI job to check --release --target aarch64-unknown-linux-gnu so that this can't happen in the future.

PR #179 broke release builds by making it necessary for
`LiveAskQuestion` and `SEED` to both now be available regardless of
whether `debug_assertions` is set. That's unfortunate, since `SEED` in
particular would make the binary quite large. So I've instead made it so
that in release mode (or rather, without `debug_assertions`), `SEED` is
_not_ compiled in, and DynamoDB mode is _always_ used.

I've also added a CI job to check `--release --target
aarch64-unknown-linux-gnu` so that this can't happen in the future.
@jonhoo jonhoo merged commit fc8174a into main Dec 27, 2024
@jonhoo jonhoo deleted the fix-release-build branch December 27, 2024 14:58
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.

1 participant