mirror of
https://git.anonymousland.org/anonymousland/synapse-product.git
synced 2024-10-01 08:25:44 -04:00
parent
2769ef4df1
commit
343038c3c3
@ -15,6 +15,9 @@ def build(setup_kwargs: Dict[str, Any]) -> None:
|
|||||||
path=cargo_toml_path,
|
path=cargo_toml_path,
|
||||||
binding=Binding.PyO3,
|
binding=Binding.PyO3,
|
||||||
py_limited_api=True,
|
py_limited_api=True,
|
||||||
|
# We force always building in release mode, as we can't tell the
|
||||||
|
# difference between using `poetry` in development vs production.
|
||||||
|
debug=False,
|
||||||
)
|
)
|
||||||
setup_kwargs.setdefault("rust_extensions", []).append(extension)
|
setup_kwargs.setdefault("rust_extensions", []).append(extension)
|
||||||
setup_kwargs["zip_safe"] = False
|
setup_kwargs["zip_safe"] = False
|
||||||
|
1
changelog.d/14009.bugfix
Normal file
1
changelog.d/14009.bugfix
Normal file
@ -0,0 +1 @@
|
|||||||
|
Fix bug where Rust extension wasn't built in `release` mode when using `poetry install`.
|
Loading…
Reference in New Issue
Block a user